aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/features/promise.py
diff options
context:
space:
mode:
Diffstat (limited to 'functest/opnfv_tests/features/promise.py')
-rw-r--r--functest/opnfv_tests/features/promise.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/functest/opnfv_tests/features/promise.py b/functest/opnfv_tests/features/promise.py
index e3dc7fdf5..49eb8a08c 100644
--- a/functest/opnfv_tests/features/promise.py
+++ b/functest/opnfv_tests/features/promise.py
@@ -16,9 +16,8 @@ import functest.core.feature as base
class Promise(base.Feature):
- def __init__(self, case_name='promise'):
- super(Promise, self).__init__(project='promise',
- case_name=case_name,
- repo='dir_repo_promise')
+ def __init__(self, **kwargs):
+ kwargs["repo"] = 'dir_repo_promise'
+ super(Promise, self).__init__(**kwargs)
dir_promise_functest = '{}/promise/test/functest'.format(self.repo)
self.cmd = 'cd %s && python ./run_tests.py' % dir_promise_functest