summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
authoryuyang <Gabriel.yuyang@huawei.com>2017-03-28 10:40:35 +0800
committerYu Yang (Gabriel) <Gabriel.yuyang@huawei.com>2017-03-29 08:17:05 +0000
commitd89cd8cf936236b4c6cb5888284e80201302f46f (patch)
tree6f7965fc23c53049d99b4e49cbd1e6ce7c3e2407 /cli
parent72d75db77faa31a1c116e7856e1487511a37a807 (diff)
bugfix: fix bugs for running 'teststory run'
JIRA: BOTTLENECK-144 utils/parser.py:56 has incorrect var:cls which cause pass more var to testcase_read function. Change-Id: I2d4b93f95d19a205e537515529746f6d9e13fe2c Signed-off-by: yuyang <Gabriel.yuyang@huawei.com> (cherry picked from commit 1760c89637ac71b877a17896e5768640a20360c3)
Diffstat (limited to 'cli')
-rw-r--r--cli/bottlenecks_cli.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/cli/bottlenecks_cli.py b/cli/bottlenecks_cli.py
index ebbf05dc..01144cf2 100644
--- a/cli/bottlenecks_cli.py
+++ b/cli/bottlenecks_cli.py
@@ -46,9 +46,6 @@ def testcase_run(testname, noclean):
_testcase.run('-c ' + testname, noclean)
-_teststory = Testcase()
-
-
@main.group()
@click.pass_context
def teststory(ctx):
@@ -62,4 +59,4 @@ def teststory(ctx):
help='Openstack resources created by the test'
'will not be cleaned after the teststory execution.')
def teststory_run(testname, noclean):
- _testcase.run('-s ' + testname, noclean) \ No newline at end of file
+ _testcase.run('-s ' + testname, noclean)