From 234c5c19456d6cbb5313ba42a3d575476d259253 Mon Sep 17 00:00:00 2001 From: "jose.lausuch" Date: Tue, 12 Jul 2016 13:28:24 +0200 Subject: 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 --- cli/commands/cli_testcase.py | 2 +- cli/commands/cli_tier.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cli') diff --git a/cli/commands/cli_testcase.py b/cli/commands/cli_testcase.py index 5fe78a59..abf67d19 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 4b714c28..8e031cce 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) -- cgit 1.2.3-korg