fireworks.utilities.tests package

Submodules

fireworks.utilities.tests.test_dagflow module

fireworks.utilities.tests.test_filepad module

class fireworks.utilities.tests.test_filepad.FilePadTest(methodName='runTest')

Bases: TestCase

setUp() → None

Hook method for setting up the test fixture before exercising it.

tearDown() → None

Hook method for deconstructing the test fixture after testing it.

test_add_file() → None
test_add_file_with_no_identifier() → None
test_delete_file() → None
test_get_file() → None
test_update_file() → None
test_update_file_by_id() → None

fireworks.utilities.tests.test_fw_serializers module

class fireworks.utilities.tests.test_fw_serializers.ExplicitSerializationTest(methodName='runTest')

Bases: TestCase

setUp() → None

Hook method for setting up the test fixture before exercising it.

test_explicit_serialization() → None
class fireworks.utilities.tests.test_fw_serializers.ExplicitTestSerializer(a)

Bases: FWSerializable

__init__(a) → None
classmethod from_dict(m_dict)
to_dict() → dict[str, Any]
class fireworks.utilities.tests.test_fw_serializers.FWFormatErrorTest(methodName='runTest')

Bases: TestCase

Test FWFormatError exception.

setUp()

Hook method for setting up the test fixture before exercising it.

tearDown()

Hook method for deconstructing the test fixture after testing it.

test_explicit_serializer_from_file() → None

Test ExplicitTestSerializer from txt file.

test_explicit_serializer_to_file() → None

Test ExplicitTestSerializer to txt file.

test_explicit_serializer_to_format() → None

Test ExplicitTestSerializer to txt file.

test_load_object_from_file() → None

Test load_object_from_file with txt file.

class fireworks.utilities.tests.test_fw_serializers.FWSerializationErrorTest(methodName='runTest')

Bases: TestCase

Test FWSerializationError exception.

setUp()

Hook method for setting up the test fixture before exercising it.

tearDown()

Hook method for deconstructing the test fixture after testing it.

test_explicit_serializer_from_file_empty_file() → None

Test ExplicitTestSerializer with empty file.

test_load_object_from_file_empty_file() → None

Test load_object_from_file with empty file.

class fireworks.utilities.tests.test_fw_serializers.SerializationTest(methodName='runTest')

Bases: TestCase

setUp() → None

Hook method for setting up the test fixture before exercising it.

tearDown() → None

Hook method for deconstructing the test fixture after testing it.

test_as_dict() → None
test_complex_json() → None
test_complex_yaml() → None
test_implicit_serialization() → None
test_json() → None
test_numpy_array() → None
test_sanity() → None
test_serialize_fw_decorator() → None
test_unicode_json() → None
test_unicode_json_file() → None
test_unicode_yaml() → None
test_unicode_yaml_file() → None
test_yaml() → None

fireworks.utilities.tests.test_update_collection module

class fireworks.utilities.tests.test_update_collection.UpdateCollectionTests(methodName='runTest')

Bases: TestCase

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.

test_update_path() → None

fireworks.utilities.tests.test_visualize module

fireworks.utilities.tests.test_visualize.power_wf()
fireworks.utilities.tests.test_visualize.test_plot_wf(power_wf) → None
fireworks.utilities.tests.test_visualize.test_wf_to_graph(power_wf) → None

Module contents

Tests for FireWorks utilities.