aboutsummaryrefslogtreecommitdiffstats
path: root/cli/commands
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-07-12 13:28:24 +0200
committerjose.lausuch <jose.lausuch@ericsson.com>2016-07-12 13:29:11 +0200
commit234c5c19456d6cbb5313ba42a3d575476d259253 (patch)
tree7f6465768f5380e8eab601e822f92017f0ff556a /cli/commands
parent73b9fc92e8aed02291878d558ed370239b25c2f1 (diff)
BugFix --noclean option in the CLI
JIRA: FUNCTEST-340 The flag was placed after the flag -t and it should be before Change-Id: I069556b00c31039f1f4cb89c42e17887c45dcb50 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'cli/commands')
-rw-r--r--cli/commands/cli_testcase.py2
-rw-r--r--cli/commands/cli_tier.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/cli/commands/cli_testcase.py b/cli/commands/cli_testcase.py
index 5fe78a590..abf67d193 100644
--- a/cli/commands/cli_testcase.py
+++ b/cli/commands/cli_testcase.py
@@ -60,7 +60,7 @@ class CliTestcase:
else:
if noclean:
cmd = ("python /home/opnfv/repos/functest/ci/run_tests.py "
- "-t --no-clean %s" % testname)
+ "-n -t %s" % testname)
else:
cmd = ("python /home/opnfv/repos/functest/ci/run_tests.py "
"-t %s" % testname)
diff --git a/cli/commands/cli_tier.py b/cli/commands/cli_tier.py
index 4b714c28b..8e031cce9 100644
--- a/cli/commands/cli_tier.py
+++ b/cli/commands/cli_tier.py
@@ -70,7 +70,7 @@ class CliTier:
else:
if noclean:
cmd = ("python /home/opnfv/repos/functest/ci/run_tests.py "
- "-t --no-clean %s" % tiername)
+ "-n -t %s" % tiername)
else:
cmd = ("python /home/opnfv/repos/functest/ci/run_tests.py "
"-t %s" % tiername)