Commit 2a9f75cf authored by Matthieu Muffato's avatar Matthieu Muffato Committed by ens-bwalts

Runnables must have a property named debug

parent 099ce5a9
......@@ -57,6 +57,8 @@ def testRunnable(testcase, runnableClass, inputParameters, refEvents, config=Non
- no_cleanup: bool, default False.
whether the temporary directory is removed at the end
of the run.
- debug: int, default 0.
the debug level.
- test_autoflow: bool, default not set.
when set, check that this is the final value of the
job's autoflow attribute.
......@@ -105,6 +107,8 @@ def testRunnable(testcase, runnableClass, inputParameters, refEvents, config=Non
job.transient_error = True
self.input_job = job
self.debug = self.__config.get('debug', 0)
def __job_life_cycle(self):
"""Run the job's life cycle. This must match BaseRunnable.__job_life_cycle"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment