test package¶
Submodules¶
test.test_api_base module¶
-
class
test.test_api_base.BaseTestCase(methodName='runTest')¶ Bases:
unittest.case.TestCaseRun the WSGI server in separate daemon thread
-
classmethod
setUpClass() → None¶ Hook method for setting up class fixture before running tests in the class.
-
classmethod
tearDownClass() → None¶ Hook method for deconstructing the class fixture after running all tests in the class.
-
classmethod
test.test_api_cv module¶
test.test_api_form module¶
test.test_api_property module¶
test.test_api_study module¶
test.test_api_user module¶
test.test_api_util module¶
test.test_utils module¶
Utility function used for only testing
-
class
test.test_utils.ServerThread(config='TESTING')¶ Bases:
threading.Thread-
run()¶ Method representing the thread’s activity.
You may override this method in a subclass. The standard run() method invokes the callable object passed to the object’s constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively.
-
shutdown()¶
-
-
test.test_utils.get_ids(endpoint='localhost', deprecated=False)¶ Get the id of all properties
-
test.test_utils.insert(url=None, data=None)¶ Insert a new entry