toil.test.src.promisesTest¶
Classes¶
Legacy common base class for Toil tests. |
|
Legacy common base class for Toil tests. |
|
Test support for indexing promises of arbitrarily nested data structures of lists, dicts and |
Functions¶
|
|
|
|
|
|
|
|
|
|
|
|
|
Module Contents¶
- class toil.test.src.promisesTest.CachedUnpicklingJobStoreTest(methodName='runTest')¶
Bases:
toil.test.ToilTest
Legacy common base class for Toil tests.
New tests should be made in the ‘pytest’ style and not use this class.
When running tests you may optionally set the TOIL_TEST_TEMP environment variable to the path of a directory where you want temporary test files be placed. The directory will be created if it doesn’t exist. The path may be relative in which case it will be assumed to be relative to the project root. If TOIL_TEST_TEMP is not defined, temporary files and directories will be created in the system’s default location for such files and any temporary files or directories left over from tests will be removed automatically removed during tear down. Otherwise, left-over files will not be removed.
- test()¶
Runs two identical Toil workflows with different job store paths
- toil.test.src.promisesTest.parent(job)¶
- toil.test.src.promisesTest.child()¶
- class toil.test.src.promisesTest.ChainedIndexedPromisesTest(methodName='runTest')¶
Bases:
toil.test.ToilTest
Legacy common base class for Toil tests.
New tests should be made in the ‘pytest’ style and not use this class.
When running tests you may optionally set the TOIL_TEST_TEMP environment variable to the path of a directory where you want temporary test files be placed. The directory will be created if it doesn’t exist. The path may be relative in which case it will be assumed to be relative to the project root. If TOIL_TEST_TEMP is not defined, temporary files and directories will be created in the system’s default location for such files and any temporary files or directories left over from tests will be removed automatically removed during tear down. Otherwise, left-over files will not be removed.
- test()¶
- toil.test.src.promisesTest.a(job)¶
- toil.test.src.promisesTest.b(job)¶
- toil.test.src.promisesTest.c()¶
- class toil.test.src.promisesTest.PathIndexingPromiseTest(methodName='runTest')¶
Bases:
toil.test.ToilTest
Test support for indexing promises of arbitrarily nested data structures of lists, dicts and tuples, or any other object supporting the __getitem__() protocol.
- test()¶
- toil.test.src.promisesTest.d(job)¶
- toil.test.src.promisesTest.e()¶