summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authoryuyang <Gabriel.yuyang@huawei.com>2017-03-28 10:40:35 +0800
committeryuyang <Gabriel.yuyang@huawei.com>2017-03-28 11:28:00 +0800
commit1760c89637ac71b877a17896e5768640a20360c3 (patch)
tree6f7965fc23c53049d99b4e49cbd1e6ce7c3e2407 /utils
parentfe83578bd2fe1a09f8334f85e30a0afbb68cc5cc (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>
Diffstat (limited to 'utils')
-rw-r--r--utils/parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/parser.py b/utils/parser.py
index b5f29679..48f705b0 100644
--- a/utils/parser.py
+++ b/utils/parser.py
@@ -53,7 +53,7 @@ class Parser():
with open(story_dir) as file:
story_parser = yaml.load(file)
for case_name in story_parser['testcase']:
- Parser.testcase_read(cls, testcase, case_name)
+ Parser.testcase_read(testcase, case_name)
return cls.bottlenecks_test