toil.test.src.jobFileStoreTest

Attributes

logger

PREFIX_LENGTH

fileStoreString

streamingFileStoreString

Classes

JobFileStoreTest

Tests testing the methods defined in :class:toil.fileStores.abstractFileStore.AbstractFileStore.

Functions

fileTestJob(job, inputFileStoreIDs, testStrings, ...)

Test job exercises toil.fileStores.abstractFileStore.AbstractFileStore functions

simpleFileStoreJob(job)

fileStoreChild(job, testID1, testID2)

Module Contents

toil.test.src.jobFileStoreTest.logger
toil.test.src.jobFileStoreTest.PREFIX_LENGTH = 200
class toil.test.src.jobFileStoreTest.JobFileStoreTest(methodName='runTest')[source]

Bases: toil.test.ToilTest

Tests testing the methods defined in :class:toil.fileStores.abstractFileStore.AbstractFileStore.

testCachingFileStore()[source]
testNonCachingFileStore()[source]
testJobFileStore()[source]

Tests case that about half the files are cached

testJobFileStoreWithBadWorker()[source]

Tests case that about half the files are cached and the worker is randomly failing.

toil.test.src.jobFileStoreTest.fileTestJob(job, inputFileStoreIDs, testStrings, chainLength)[source]

Test job exercises toil.fileStores.abstractFileStore.AbstractFileStore functions

toil.test.src.jobFileStoreTest.fileStoreString = 'Testing writeGlobalFile'
toil.test.src.jobFileStoreTest.streamingFileStoreString = 'Testing writeGlobalFileStream'
toil.test.src.jobFileStoreTest.simpleFileStoreJob(job)[source]
toil.test.src.jobFileStoreTest.fileStoreChild(job, testID1, testID2)[source]