diff options
author | valentin boucher <valentin.boucher@orange.com> | 2017-04-04 13:12:56 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-04-04 13:12:56 +0000 |
commit | d06d840c00d4e3b58b826447e17035469e967357 (patch) | |
tree | d7941107f940203352422808e1777c5dce5de32b /functest/core/feature.py | |
parent | 7af7f85cc1d8cc0ef05ec839a70504f89d38f806 (diff) | |
parent | 457321c2c8ed7e8dcb1daccb6d2fd9814e6a98ca (diff) |
Merge "Add case_name as constructor arg"
Diffstat (limited to 'functest/core/feature.py')
-rw-r--r-- | functest/core/feature.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/functest/core/feature.py b/functest/core/feature.py index 325c10d4..5149f80f 100644 --- a/functest/core/feature.py +++ b/functest/core/feature.py @@ -8,10 +8,9 @@ from functest.utils.constants import CONST class Feature(base.TestCase): - def __init__(self, project='functest', case='', repo='', cmd=''): - super(Feature, self).__init__() + def __init__(self, project='functest', case_name='', repo='', cmd=''): + super(Feature, self).__init__(case_name=case_name) self.project_name = project - self.case_name = case self.cmd = cmd self.repo = CONST.__getattribute__(repo) self.result_file = self.get_result_file() |