fireworks.tests package — FireWorks 1.3.4 documentation

### Navigation

- index
- modules |
- FireWorks 1.3.4 documentation »

# fireworks.tests package

## Submodules

## fireworks.tests.master_tests module

class `fireworks.tests.master_tests.` `BasicTests`(methodName='runTest')

  Bases: `unittest.case.TestCase`

  Make sure that required external libraries can be imported

  `test_fwconnector`()
  `test_parentconnector`()

class `fireworks.tests.master_tests.` `SerializationTests`(methodName='runTest')

  Bases: `unittest.case.TestCase`

  `get_data`(obj_dict)
  `test_recursive_deserialize`()
  `test_serialization_details`()

class `fireworks.tests.master_tests.` `TestImports`(methodName='runTest')

  Bases: `unittest.case.TestCase`

  Make sure that required external libraries can be imported

  `test_imports`()

## fireworks.tests.mongo_tests module

class `fireworks.tests.mongo_tests.` `ModSpecTask`(*args, **kwargs)

  Bases: `fireworks.core.firework.FireTaskBase`

  `run_task`(fw_spec)

class `fireworks.tests.mongo_tests.` `MongoTests`(methodName='runTest')

  Bases: `unittest.case.TestCase`

  `setUp`()
  classmethod `setUpClass`()
  `tearDown`()
  classmethod `tearDownClass`()
  `test_add_fw`()
  `test_add_lp_and_fw_id`()
  `test_append_wf`()
  `test_append_wf_detour`()
  `test_archive`()
  `test_backgroundtask`()
  `test_basic_fw`()
  `test_basic_fw_offline`()
  `test_defuse`()
  `test_delete_fw`()
  `test_dupefinder`()
  `test_duplicate_delete_fw`()
  `test_fibadder`()
  `test_fizzle`()
  `test_force_lock_removal`()
  `test_fw_env`()
  `test_job_info`()
  `test_multi_detour`()
  `test_multi_fw`()
  `test_multi_fw_complex`()
  `test_offline_fw_passinfo`()
  `test_org_wf`()
  `test_parallel_fibadder`()
  `test_preserve_fworker`()
  `test_spec_copy`()
  `test_stats`()

class `fireworks.tests.mongo_tests.` `MultipleDetourTask`(*args, **kwargs)

  Bases: `fireworks.core.firework.FireTaskBase`

  `run_task`(fw_spec)

class `fireworks.tests.mongo_tests.` `UpdateSpecTask`(*args, **kwargs)

  Bases: `fireworks.core.firework.FireTaskBase`

  `run_task`(fw_spec)

`fireworks.tests.mongo_tests.` `random_launch`(lp_creds)

`fireworks.tests.mongo_tests.` `throw_error`(msg)

## fireworks.tests.multiprocessing_tests module

class `fireworks.tests.multiprocessing_tests.` `TestCheckoutFW`(methodName='runTest')

  Bases: `unittest.case.TestCase`

  `lp` = None
  `setUp`()
  classmethod `setUpClass`()
  `tearDown`()
  classmethod `tearDownClass`()
  `test_checkout_fw`()

class `fireworks.tests.multiprocessing_tests.` `TestEarlyExit`(methodName='runTest')

  Bases: `unittest.case.TestCase`

  `lp` = None
  `setUp`()
  classmethod `setUpClass`()
  `tearDown`()
  classmethod `tearDownClass`()
  `test_early_exit`()

class `fireworks.tests.multiprocessing_tests.` `TestLinks`(methodName='runTest')

  Bases: `unittest.case.TestCase`

  `test_pickle`()

## fireworks.tests.tasks module

class `fireworks.tests.tasks.` `DummyFWEnvTask`(*args, **kwargs)

  Bases: `fireworks.core.firework.FireTaskBase`

  `run_task`(fw_spec)

class `fireworks.tests.tasks.` `DummyJobPassTask`(*args, **kwargs)

  Bases: `fireworks.core.firework.FireTaskBase`

  `run_task`(fw_spec)

class `fireworks.tests.tasks.` `DummyLPTask`(*args, **kwargs)

  Bases: `fireworks.core.firework.FireTaskBase`

  `run_task`(fw_spec)

## fireworks.tests.test_fw_config module

class `fireworks.tests.test_fw_config.` `ConfigTest`(methodName='runTest')

  Bases: `unittest.case.TestCase`

  `test_config`()

## Module contents

### Navigation

- index
- modules |
- FireWorks 1.3.4 documentation »