diff options
author | 2017-03-28 20:38:15 +0200 | |
---|---|---|
committer | 2017-04-04 10:26:22 +0200 | |
commit | 457321c2c8ed7e8dcb1daccb6d2fd9814e6a98ca (patch) | |
tree | 47a5ab66f98eed8fb238a7fffc6788436771bef7 /functest/tests/unit/core/test_vnf_base.py | |
parent | 62661e25ab10f1fea79b8c1e19c6d493b3e12b68 (diff) |
Add case_name as constructor arg
It allows managing multiple TestCase names with only one TestCase
module. It is mainly required by odl which implements:
- odl,
- odl_netvirt,
- fds.
It also renames case to case_name in Features to conform with
TestCases.
JIRA: FUNCTEST-762
Change-Id: Ie254f754a0ea3077a8afda1c470528d38c79478f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest/tests/unit/core/test_vnf_base.py')
-rw-r--r-- | functest/tests/unit/core/test_vnf_base.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/functest/tests/unit/core/test_vnf_base.py b/functest/tests/unit/core/test_vnf_base.py index 1680f03f..96706040 100644 --- a/functest/tests/unit/core/test_vnf_base.py +++ b/functest/tests/unit/core/test_vnf_base.py @@ -19,9 +19,8 @@ class VnfBaseTesting(unittest.TestCase): def setUp(self): self.test = vnf_base.VnfOnBoardingBase(project='functest', - case='aaa') + case_name='aaa') self.test.project = "functest" - self.test.case_name = "aaa" self.test.start_time = "1" self.test.stop_time = "5" self.test.criteria = "" |