Belle II Software
release-08-01-10
|
Classes | |
class | JobState |
Public Member Functions | |
def | __enter__ (self) |
def | __exit__ (self, exc, value, tb) |
def | createJobTemplate (self) |
def | runJob (self, jt) |
def | jobStatus (self, jt) |
def | deleteJobTemplate (self, jt) |
Static Public Attributes | |
jobStatusReturn = JobState.RUNNING | |
the job state this session mock will return | |
Class to mock a DRMAA session
Definition at line 26 of file test_clustercontroldrmaa.py.
def __enter__ | ( | self | ) |
to support python with syntax
Definition at line 46 of file test_clustercontroldrmaa.py.
def __exit__ | ( | self, | |
exc, | |||
value, | |||
tb | |||
) |
to support python with syntax
Definition at line 50 of file test_clustercontroldrmaa.py.
def createJobTemplate | ( | self | ) |
fake creating job template
Definition at line 53 of file test_clustercontroldrmaa.py.
def deleteJobTemplate | ( | self, | |
jt | |||
) |
fake job deletion
Definition at line 65 of file test_clustercontroldrmaa.py.
def jobStatus | ( | self, | |
jt | |||
) |
fake job status terun
Definition at line 61 of file test_clustercontroldrmaa.py.
def runJob | ( | self, | |
jt | |||
) |
fake job running
Definition at line 57 of file test_clustercontroldrmaa.py.