aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/features/promise.py
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2017-04-05 15:32:58 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2017-04-05 15:36:11 +0200
commit7c79dd75b519ac22483de76b4433a9923da68ef6 (patch)
tree7160fb4e99a12bdc051c3d72c272e34193d1000c /functest/opnfv_tests/features/promise.py
parent2bd6e7d12040659b5be66d6d9a0df55838446379 (diff)
Add case_name as args in all features
Now run_tests.py forces case_name as arg of every TestCase or Feature. It also updates the related unit tests. Change-Id: I4d70005b53730f36785f0ac95f4f0f6a04455794 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest/opnfv_tests/features/promise.py')
-rw-r--r--functest/opnfv_tests/features/promise.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/functest/opnfv_tests/features/promise.py b/functest/opnfv_tests/features/promise.py
index b76a1910..e3dc7fdf 100644
--- a/functest/opnfv_tests/features/promise.py
+++ b/functest/opnfv_tests/features/promise.py
@@ -16,9 +16,9 @@ import functest.core.feature as base
class Promise(base.Feature):
- def __init__(self):
+ def __init__(self, case_name='promise'):
super(Promise, self).__init__(project='promise',
- case_name='promise',
+ case_name=case_name,
repo='dir_repo_promise')
dir_promise_functest = '{}/promise/test/functest'.format(self.repo)
self.cmd = 'cd %s && python ./run_tests.py' % dir_promise_functest