Module Expr Str Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Num Assign NameStore Num Assign NameStore Num FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr Call NameLoad AugAssignAdd AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body AugAssignAdd AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body AugAssignAdd AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Pass decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad NameLoad Num ListLoad keyword Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr CompareGt Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListComp Call NameLoad comprehension NameStore Call NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListComp Call NameLoad comprehension NameStore Call NameLoad Num Assign NameStore ListLoad Assign NameStore Dict FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults TupleLoad Dict NameLoad NameLoad NameLoad Num NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad ListLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad Str Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad BinOpAdd NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Lambda arguments args defaults vararg Call NameLoad NameLoad decorator_list decorator_list Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call NameLoad BinOpAdd NameLoad Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Str Call NameLoad Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr Call NameLoad AugAssignAdd AttributeStore NameLoad attr Num Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call NameLoad Call NameLoad Str decorator_list decorator_list Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr Call NameLoad AugAssignAdd AttributeStore NameLoad attr Num Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad FunctionDef arguments args defaults body Assign NameStore Call NameLoad BinOpAdd NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call SubscriptLoad NameLoad Index Num decorator_list Return Call NameLoad NameLoad Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore ListLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad Num NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad BinOpAdd NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Call NameLoad NameLoad Return Call AttributeLoad Call SubscriptLoad NameLoad Index Num attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr Call NameLoad AugAssignAdd AttributeStore NameLoad attr Num Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad If CompareEq Call NameLoad NameLoad Num body Return Call NameLoad Call NameLoad Str Return Call NameLoad NameLoad decorator_list decorator_list Assign NameStore Call NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list decorator_list
N/A N/A 
Tests for L{twisted.trial._dist.disttrial}.
 N/A os N/A sys cStringIO StringIO twisted.internet.protocol ProcessProtocol twisted.internet.defer fail succeed twisted.internet.task Cooperator deferLater twisted.internet.main CONNECTION_DONE twisted.internet reactor twisted.python.failure Failure twisted.python.lockfile FilesystemLock twisted.test.test_cooperator FakeScheduler twisted.trial.unittest TestCase twisted.trial.reporter Reporter TreeReporter twisted.trial.reporter UncleanWarningsReporterWrapper twisted.trial.runner TrialSuite ErrorHolder twisted.trial._dist.disttrial DistTrialRunner twisted.trial._dist.distreporter DistReporter twisted.trial._dist.worker LocalWorker FakeTransport N/A object N/A N/A 
    A simple fake process transport.
     writeToChild N/A N/A self fd data N/A N/A N/A 
        Ignore write calls.
         N/A N/A FakeReactor N/A object N/A N/A 
    A simple fake reactor for testing purposes.
     N/A spawnCount 0 N/A stopCount 0 N/A runCount 0 spawnProcess N/A N/A self worker N/A args kwargs N/A N/A N/A N/A worker makeConnection N/A FakeTransport N/A N/A self spawnCount 1 N/A stop N/A N/A self N/A N/A N/A N/A self stopCount 1 N/A run N/A N/A self N/A N/A N/A N/A self runCount 1 N/A addSystemEventTrigger N/A N/A self N/A args kw N/A N/A N/A N/A EternalTerminationPredicateFactory N/A object N/A N/A 
    A rigged terminationPredicateFactory for which time never pass.
     __call__ N/A N/A self N/A N/A N/A 
        See: L{task._Timer}
         N/A False N/A N/A DistTrialRunnerTests N/A TestCase N/A N/A 
    Tests for L{DistTrialRunner}.
     setUp N/A N/A self N/A N/A N/A 
        Create a runner for testing.
         N/A N/A self runner N/A DistTrialRunner TreeReporter 4 N/A workingDirectory N/A N/A self mktemp N/A N/A N/A self runner _stream N/A StringIO N/A getFakeSchedulerAndEternalCooperator N/A N/A self N/A N/A N/A 
        Helper to create fake scheduler and cooperator in tests.

        The cooperator has a termination timer which will never inform
        the scheduler that the task needs to be terminated.

        @return: L{tuple} of (scheduler, cooperator)
         N/A scheduler N/A FakeScheduler N/A cooperator N/A Cooperator scheduler scheduler terminationPredicateFactory EternalTerminationPredicateFactory N/A N/A scheduler cooperator N/A test_writeResults N/A N/A self N/A N/A N/A 
        L{DistTrialRunner.writeResults} writes to the stream specified in the
        init.
         N/A stringIO N/A StringIO N/A result N/A DistReporter N/A Reporter stringIO N/A N/A N/A N/A self runner writeResults result N/A N/A N/A self assertTrue N/A N/A N/A stringIO tell 0 N/A test_createLocalWorkers N/A N/A self N/A N/A N/A 
        C{createLocalWorkers} iterates the list of protocols and create one
        L{LocalWorker} for each.
         N/A protocols N/A N/A object N/A x N/A xrange 4 N/A workers N/A N/A N/A self runner createLocalWorkers protocols path N/A s workers N/A N/A N/A N/A self assertIsInstance s LocalWorker N/A N/A N/A self assertEqual 4 N/A len workers N/A test_launchWorkerProcesses N/A N/A self N/A N/A N/A 
        Given a C{spawnProcess} function, C{launchWorkerProcess} launches a
        python process with a existing path as its argument.
         N/A protocols N/A N/A ProcessProtocol N/A i N/A range 4 N/A arguments N/A N/A environment N/A fakeSpawnProcess N/A N/A processProtocol executable args env path uid gid usePTY childFDs N/A N/A N/A None None None 0 None N/A N/A N/A N/A arguments append executable N/A N/A N/A arguments extend args N/A N/A N/A environment update env N/A N/A N/A N/A N/A self runner launchWorkerProcesses fakeSpawnProcess protocols N/A foo N/A N/A N/A self assertEqual N/A arguments N/A 0 N/A arguments N/A 1 N/A N/A N/A self assertTrue N/A N/A N/A os path exists N/A arguments N/A 2 N/A N/A N/A self assertEqual foo N/A arguments N/A 3 N/A N/A N/A self assertEqual N/A N/A N/A os pathsep join N/A sys path N/A environment N/A TRIAL_PYTHONPATH N/A test_run N/A N/A self N/A N/A N/A 
        C{run} starts the reactor exactly once and spawns each of the workers
        exactly once.
         N/A fakeReactor N/A FakeReactor N/A suite N/A TrialSuite N/A i N/A xrange 10 N/A N/A N/A N/A suite addTest N/A TestCase N/A N/A N/A N/A self runner run suite fakeReactor N/A N/A N/A self assertEqual N/A fakeReactor runCount 1 N/A N/A N/A self assertEqual N/A fakeReactor spawnCount N/A N/A self runner _workerNumber N/A test_runUsedDirectory N/A N/A self N/A N/A N/A 
        L{DistTrialRunner} checks if the test directory is already locked, and
        if it is generates a name based on it.
         FakeReactorWithLock N/A FakeReactor N/A spawnProcess N/A N/A oself worker N/A args kwargs N/A N/A N/A N/A self assertEqual N/A N/A N/A os path abspath N/A worker _logDirectory N/A N/A N/A os path abspath N/A N/A N/A os path join N/A workingDirectory -1 N/A str N/A oself spawnCount N/A localLock N/A FilesystemLock N/A workingDirectory -1.lock N/A N/A N/A self assertFalse N/A N/A localLock lock N/A N/A oself spawnCount 1 N/A N/A N/A worker makeConnection N/A FakeTransport N/A N/A N/A worker _ampProtocol run N/A N/A N/A N/A args N/A succeed None N/A N/A N/A newDirectory N/A N/A self mktemp N/A N/A N/A os mkdir newDirectory N/A workingDirectory N/A N/A N/A os path join newDirectory _trial_temp N/A lock N/A FilesystemLock N/A workingDirectory .lock N/A N/A N/A lock lock N/A N/A N/A self addCleanup N/A lock unlock N/A N/A N/A self runner _workingDirectory workingDirectory N/A fakeReactor N/A FakeReactorWithLock N/A suite N/A TrialSuite N/A i N/A xrange 10 N/A N/A N/A N/A suite addTest N/A TestCase N/A N/A N/A N/A self runner run suite fakeReactor N/A test_minimalWorker N/A N/A self N/A N/A N/A 
        L{DistTrialRunner} doesn't try to start more workers than the number of
        tests.
         N/A fakeReactor N/A FakeReactor N/A N/A N/A N/A self runner run N/A TestCase fakeReactor N/A N/A N/A self assertEqual N/A fakeReactor runCount 1 N/A N/A N/A self assertEqual N/A fakeReactor spawnCount 1 N/A test_runUncleanWarnings N/A N/A self N/A N/A N/A 
        Running with the C{unclean-warnings} option makes L{DistTrialRunner}
        uses the L{UncleanWarningsReporterWrapper}.
         N/A fakeReactor N/A FakeReactor N/A N/A N/A self runner _uncleanWarnings True N/A result N/A N/A N/A self runner run N/A TestCase fakeReactor N/A N/A N/A self assertIsInstance result DistReporter N/A N/A N/A self assertIsInstance N/A result original UncleanWarningsReporterWrapper N/A test_runWithoutTest N/A N/A self N/A N/A N/A 
        When the suite contains no test, L{DistTrialRunner} takes a shortcut
        path without launching any process or starting the reactor.
         N/A fakeReactor N/A object N/A suite N/A TrialSuite N/A result N/A N/A N/A self runner run suite fakeReactor N/A N/A N/A self assertIsInstance result DistReporter N/A output N/A N/A N/A N/A self runner _stream getvalue N/A N/A N/A self assertIn Running 0 test output N/A N/A N/A self assertIn PASSED output N/A test_runWithoutTestButWithAnError N/A N/A self N/A N/A N/A 
        Even if there is no test, the suite can contain an error (most likely,
        an import error): this should make the run fail, and the error should
        be printed.
         N/A fakeReactor N/A object N/A error N/A ErrorHolder an error N/A Failure N/A RuntimeError foo bar N/A result N/A N/A N/A self runner run error fakeReactor N/A N/A N/A self assertIsInstance result DistReporter N/A output N/A N/A N/A N/A self runner _stream getvalue N/A N/A N/A self assertIn Running 0 test output N/A N/A N/A self assertIn foo bar output N/A N/A N/A self assertIn an error output N/A N/A N/A self assertIn errors=1 output N/A N/A N/A self assertIn FAILED output N/A test_runUnexpectedError N/A N/A self N/A N/A N/A 
        If for some reasons we can't connect to the worker process, the test
        suite catches and fails.
         FakeReactorWithFail N/A FakeReactor N/A spawnProcess N/A N/A self worker N/A args kwargs N/A N/A N/A N/A worker makeConnection N/A FakeTransport N/A N/A self spawnCount 1 N/A N/A N/A worker _ampProtocol run N/A self failingRun N/A failingRun N/A N/A self case result N/A N/A N/A N/A fail N/A RuntimeError oops N/A N/A N/A N/A scheduler cooperator N/A N/A self getFakeSchedulerAndEternalCooperator N/A fakeReactor N/A FakeReactorWithFail N/A result N/A N/A N/A self runner run N/A TestCase fakeReactor N/A cooperator cooperate N/A N/A N/A self assertEqual N/A fakeReactor runCount 1 N/A N/A N/A self assertEqual N/A fakeReactor spawnCount 1 N/A N/A N/A scheduler pump N/A N/A N/A self assertEqual 1 N/A len N/A N/A result original failures N/A test_runStopAfterTests N/A N/A self N/A N/A N/A 
        L{DistTrialRunner} calls C{reactor.stop} and unlocks the test directory
        once the tests have run.
         N/A functions N/A FakeReactorWithSuccess N/A FakeReactor N/A spawnProcess N/A N/A self worker N/A args kwargs N/A N/A N/A N/A worker makeConnection N/A FakeTransport N/A N/A self spawnCount 1 N/A N/A N/A worker _ampProtocol run N/A self succeedingRun N/A succeedingRun N/A N/A self case result N/A N/A N/A N/A succeed None N/A addSystemEventTrigger N/A N/A oself phase event function N/A N/A N/A N/A N/A self assertEqual before phase N/A N/A N/A self assertEqual shutdown event N/A N/A N/A functions append function N/A N/A N/A workingDirectory N/A N/A self runner _workingDirectory N/A fakeReactor N/A FakeReactorWithSuccess N/A N/A N/A N/A self runner run N/A TestCase fakeReactor check N/A N/A N/A N/A N/A localLock N/A FilesystemLock N/A workingDirectory .lock N/A N/A N/A self assertTrue N/A N/A localLock lock N/A N/A N/A self assertEqual 1 N/A fakeReactor stopCount N/A N/A N/A self assertIdentical None N/A N/A functions N/A 0 N/A N/A N/A deferLater reactor 0 check N/A test_runWaitForProcessesDeferreds N/A N/A self N/A N/A N/A 
        L{DistTrialRunner} waits for the worker processes to stop when the
        reactor is stopping, and then unlocks the test directory, not trying to
        stop the reactor again.
         N/A functions N/A N/A workers N/A FakeReactorWithEvent N/A FakeReactor N/A spawnProcess N/A N/A self worker N/A args kwargs N/A N/A N/A N/A worker makeConnection N/A FakeTransport N/A N/A N/A workers append worker N/A addSystemEventTrigger N/A N/A oself phase event function N/A N/A N/A N/A N/A self assertEqual before phase N/A N/A N/A self assertEqual shutdown event N/A N/A N/A functions append function N/A N/A N/A workingDirectory N/A N/A self runner _workingDirectory N/A fakeReactor N/A FakeReactorWithEvent N/A N/A N/A N/A self runner run N/A TestCase fakeReactor check N/A N/A ign N/A N/A N/A N/A deferLater reactor 0 realCheck N/A realCheck N/A N/A N/A N/A N/A localLock N/A FilesystemLock N/A workingDirectory .lock N/A N/A N/A self assertTrue N/A N/A localLock lock N/A N/A N/A self assertEqual 0 N/A fakeReactor stopCount N/A N/A N/A N/A N/A workers N/A 0 processEnded N/A Failure CONNECTION_DONE N/A N/A N/A N/A N/A functions N/A 0 addCallback check N/A test_runUntilFailure N/A N/A self N/A N/A N/A 
        L{DistTrialRunner} can run in C{untilFailure} mode where it will run
        the given tests until they fail.
         N/A called N/A FakeReactorWithSuccess N/A FakeReactor N/A spawnProcess N/A N/A self worker N/A args kwargs N/A N/A N/A N/A worker makeConnection N/A FakeTransport N/A N/A self spawnCount 1 N/A N/A N/A worker _ampProtocol run N/A self succeedingRun N/A succeedingRun N/A N/A self case result N/A N/A N/A N/A N/A called append None N/A N/A N/A len called 5 N/A N/A N/A fail N/A RuntimeError oops N/A N/A succeed None N/A N/A N/A fakeReactor N/A FakeReactorWithSuccess N/A N/A scheduler cooperator N/A N/A self getFakeSchedulerAndEternalCooperator N/A result N/A N/A N/A self runner run N/A TestCase fakeReactor cooperate N/A cooperator cooperate untilFailure True N/A N/A N/A scheduler pump N/A N/A N/A self assertEqual 5 N/A len called N/A N/A N/A self assertFalse N/A N/A result wasSuccessful N/A output N/A N/A N/A N/A self runner _stream getvalue N/A N/A N/A self assertIn PASSED output N/A N/A N/A self assertIn FAIL output N/A N/A