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.TestCase
run tests for DAGFlow class
-
setUp
()¶
-
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¶
fireworks.utilities.tests.test_fw_serializers module¶
-
class
fireworks.utilities.tests.test_fw_serializers.
ExplicitSerializationTest
(methodName='runTest')¶ Bases:
unittest.case.TestCase
-
setUp
()¶
-
test_explicit_serialization
()¶
-
-
class
fireworks.utilities.tests.test_fw_serializers.
ExplicitTestSerializer
(a)¶ Bases:
fireworks.utilities.fw_serializers.FWSerializable
-
__init__
(a)¶
-
classmethod
from_dict
(m_dict)¶
-
to_dict
()¶
-
-
class
fireworks.utilities.tests.test_fw_serializers.
SerializationTest
(methodName='runTest')¶ Bases:
unittest.case.TestCase
-
setUp
()¶
-
tearDown
()¶
-
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
()¶
-