fireworks.utilities.tests package¶
Submodules¶
fireworks.utilities.tests.test_dagflow module¶
Unit tests for the DAGFlow class
-
class
fireworks.utilities.tests.test_dagflow.DAGFlowTest(methodName='runTest')¶ Bases:
unittest.case.TestCaserun tests for DAGFlow class
-
setUp()¶ Hook method for setting up the test fixture before exercising it.
-
test_dagflow_cut()¶ disconnected graph
-
test_dagflow_input()¶ missing input
-
test_dagflow_link()¶ wrong links
-
test_dagflow_loop()¶ loop in graph
-
test_dagflow_ok()¶ construct and replicate
-
test_dagflow_output()¶ clashing inputs
-
test_dagflow_view()¶ visualize the workflow graph
-
fireworks.utilities.tests.test_filepad module¶
-
class
fireworks.utilities.tests.test_filepad.FilePadTest(methodName='runTest')¶ Bases:
unittest.case.TestCase-
setUp()¶ Hook method for setting up the test fixture before exercising it.
-
tearDown()¶ Hook method for deconstructing the test fixture after testing it.
-
test_add_file()¶
-
test_add_file_with_no_identifier()¶
-
test_delete_file()¶
-
test_get_file()¶
-
test_update_file()¶
-
test_update_file_by_id()¶
-
fireworks.utilities.tests.test_fw_serializers module¶
-
class
fireworks.utilities.tests.test_fw_serializers.ExplicitSerializationTest(methodName='runTest')¶ Bases:
unittest.case.TestCase-
setUp()¶ Hook method for setting up the test fixture before exercising it.
-
test_explicit_serialization()¶
-
-
class
fireworks.utilities.tests.test_fw_serializers.ExplicitTestSerializer(a)¶ Bases:
fireworks.utilities.fw_serializers.FWSerializable-
__init__(a)¶ Initialize self. See help(type(self)) for accurate signature.
-
classmethod
from_dict(m_dict)¶
-
to_dict()¶
-
-
class
fireworks.utilities.tests.test_fw_serializers.SerializationTest(methodName='runTest')¶ Bases:
unittest.case.TestCase-
setUp()¶ Hook method for setting up the test fixture before exercising it.
-
tearDown()¶ Hook method for deconstructing the test fixture after testing it.
-
test_as_dict()¶
-
test_complex_json()¶
-
test_complex_yaml()¶
-
test_implicit_serialization()¶
-
test_json()¶
-
test_numpy_array()¶
-
test_sanity()¶
-
test_serialize_fw_decorator()¶
-
test_unicode_json()¶
-
test_unicode_json_file()¶
-
test_unicode_yaml()¶
-
test_unicode_yaml_file()¶
-
test_yaml()¶
-
fireworks.utilities.tests.test_update_collection module¶
-
class
fireworks.utilities.tests.test_update_collection.UpdateCollectionTests(methodName='runTest')¶ Bases:
unittest.case.TestCase-
classmethod
setUpClass()¶ Hook method for setting up class fixture before running tests in the class.
-
classmethod
tearDownClass()¶ Hook method for deconstructing the class fixture after running all tests in the class.
-
test_update_path()¶
-
classmethod