Code Review
/
dovetail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
16bbb97
)
Simplify getting pre_condition cmds
07/23407/3
author
zshi
<zshi@redhat.com>
Thu, 20 Oct 2016 07:53:37 +0000
(15:53 +0800)
committer
Christopher Price
<christopher.price@ericsson.com>
Fri, 21 Oct 2016 09:56:52 +0000
(09:56 +0000)
Change-Id: I8ca04cbdc4236e9ff754bad816bb7282673b5b55
Signed-off-by: zshi <zshi@redhat.com>
dovetail/run.py
patch
|
blob
|
history
diff --git
a/dovetail/run.py
b/dovetail/run.py
index
8fe27c5
..
ddeb311
100755
(executable)
--- 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)