toil.test.utils.toilDebugTest
¶
A set of test cases for toilwdl.py
Module Contents¶
Functions¶
|
|
|
Test toilDebugFile.printContentsOfJobStore(). |
|
Fn for testFetchJobStoreFiles() and testFetchJobStoreFilesWSymlinks(). |
|
Test toilDebugFile.fetchJobStoreFiles() without using symlinks. |
|
Test toilDebugFile.fetchJobStoreFiles() using symlinks. |
Attributes¶
- toil.test.utils.toilDebugTest.logger¶
- toil.test.utils.toilDebugTest.workflow_debug_jobstore(tmp_path)[source]¶
- Parameters
tmp_path (pathlib.Path) –
- Return type
- toil.test.utils.toilDebugTest.testJobStoreContents(workflow_debug_jobstore)[source]¶
Test toilDebugFile.printContentsOfJobStore().
Runs a workflow that imports ‘B.txt’ and ‘mkFile.py’ into the jobStore. ‘A.txt’, ‘C.txt’, ‘ABC.txt’ are then created. This checks to make sure these contents are found in the jobStore and printed.
- Parameters
workflow_debug_jobstore (str) –
- toil.test.utils.toilDebugTest.fetchFiles(symLink, jobStoreDir, outputDir)[source]¶
Fn for testFetchJobStoreFiles() and testFetchJobStoreFilesWSymlinks().
Runs a workflow that imports ‘B.txt’ and ‘mkFile.py’ into the jobStore. ‘A.txt’, ‘C.txt’, ‘ABC.txt’ are then created. This test then attempts to get a list of these files and copy them over into our output diectory from the jobStore, confirm that they are present, and then delete them.
- Parameters
jobStoreDir (str) –
- toil.test.utils.toilDebugTest.testFetchJobStoreFiles(tmp_path, workflow_debug_jobstore)[source]¶
Test toilDebugFile.fetchJobStoreFiles() without using symlinks.
- Parameters
tmp_path (pathlib.Path) –
workflow_debug_jobstore (str) –
- Return type
None
- toil.test.utils.toilDebugTest.testFetchJobStoreFilesWSymlinks(tmp_path, workflow_debug_jobstore)[source]¶
Test toilDebugFile.fetchJobStoreFiles() using symlinks.
- Parameters
tmp_path (pathlib.Path) –
workflow_debug_jobstore (str) –
- Return type
None