toil.test.batchSystems.parasolTestSupport

Module Contents

Classes

ParasolTestSupport

For test cases that need a running Parasol leader and worker on the local host

Attributes

log

toil.test.batchSystems.parasolTestSupport.log
class toil.test.batchSystems.parasolTestSupport.ParasolTestSupport

For test cases that need a running Parasol leader and worker on the local host

class ParasolThread

Bases: threading.Thread

Inheritance diagram of toil.test.batchSystems.parasolTestSupport.ParasolTestSupport.ParasolThread

A class that represents a thread of control.

This class can be safely subclassed in a limited fashion. There are two ways to specify the activity: by passing a callable object to the constructor, or by overriding the run() method in a subclass.

lock
abstract parasolCommand()
run()

Method representing the thread’s activity.

You may override this method in a subclass. The standard run() method invokes the callable object passed to the object’s constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively.

class ParasolLeaderThread

Bases: ParasolTestSupport.ParasolThread

Inheritance diagram of toil.test.batchSystems.parasolTestSupport.ParasolTestSupport.ParasolLeaderThread

A class that represents a thread of control.

This class can be safely subclassed in a limited fashion. There are two ways to specify the activity: by passing a callable object to the constructor, or by overriding the run() method in a subclass.

run()

Method representing the thread’s activity.

You may override this method in a subclass. The standard run() method invokes the callable object passed to the object’s constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively.

parasolCommand()
class ParasolWorkerThread

Bases: ParasolTestSupport.ParasolThread

Inheritance diagram of toil.test.batchSystems.parasolTestSupport.ParasolTestSupport.ParasolWorkerThread

A class that represents a thread of control.

This class can be safely subclassed in a limited fashion. There are two ways to specify the activity: by passing a callable object to the constructor, or by overriding the run() method in a subclass.

parasolCommand()