def _get_drmaa(cls): events.append('get drmaa') return DummyDRMAAModule(), DummyDRMAASession()
def synchronize(self, jobids, timeout, cleanup): events.append('sync %s timeout %s cleanup %s' \ % (str(jobids), timeout, str(cleanup)))
def wait(self, jobid, timeout): events.append('wait %s timeout %s' \ % (str(jobid), timeout)) return jobid != 'jobN.fail'
def add(self, key): events.append('add job dict ' + key)
def remove(self, key): events.append('remove job dict ' + key)
def initialize(self): events.append('drmaa session init')
def exit(self): events.append('drmaa session exit')