summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdovetail/run.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/dovetail/run.py b/dovetail/run.py
index 8fe27c59..ddeb3117 100755
--- a/dovetail/run.py
+++ b/dovetail/run.py
@@ -49,8 +49,7 @@ def run_test(scenario):
logger.debug('container id:%s' % container_id)
if not Testcase.prepared(testcase.script_type()):
- cmds = \
- Testcase.pre_condition_cls(testcase.script_type())['cmds']
+ cmds = testcase.pre_condition()['cmds']
if cmds:
for cmd in cmds:
Container.exec_cmd(container_id, cmd)