toil.test.src.environmentTest¶
Attributes¶
Classes¶
Test to make sure that Toil's environment variable save and restore system |
Functions¶
|
Make a file in the file store that the leader can see. |
|
Fail if the test environment is wrong. |
|
Toil job that waits. |
Toil job that checks the environment, waits, and checks it again, as |
|
|
Run the actual workflow with the given options. |
Module Contents¶
- toil.test.src.environmentTest.logger¶
- class toil.test.src.environmentTest.EnvironmentTest(methodName='runTest')[source]¶
Bases:
toil.test.ToilTest
Test to make sure that Toil’s environment variable save and restore system (environment.pickle) works.
The environment should be captured once at the start of the workflow and should be sent through based on that, not base don the leader’s current environment when the job is launched.
- toil.test.src.environmentTest.signal_leader(job)[source]¶
Make a file in the file store that the leader can see.
- toil.test.src.environmentTest.check_environment(job, try_name)[source]¶
Fail if the test environment is wrong.
- Parameters:
try_name (str)
- toil.test.src.environmentTest.check_environment_repeatedly(job)[source]¶
Toil job that checks the environment, waits, and checks it again, as separate invocations.
- toil.test.src.environmentTest.main(options=None)[source]¶
Run the actual workflow with the given options.
- Parameters:
options (Optional[argparse.Namespace])