aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/vnf/rnc/parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'functest/opnfv_tests/vnf/rnc/parser.py')
-rw-r--r--functest/opnfv_tests/vnf/rnc/parser.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/functest/opnfv_tests/vnf/rnc/parser.py b/functest/opnfv_tests/vnf/rnc/parser.py
index 133145d7..3e6b138c 100644
--- a/functest/opnfv_tests/vnf/rnc/parser.py
+++ b/functest/opnfv_tests/vnf/rnc/parser.py
@@ -16,11 +16,11 @@
#
import functest.core.feature as base
+from functest.utils.constants import CONST
-class Parser(base.Feature):
- def __init__(self):
- super(Parser, self).__init__(project='parser',
- case='parser-basics',
- repo='dir_repo_parser')
- self.cmd = 'cd %s/tests && ./functest_run.sh' % self.repo
+class Parser(base.BashFeature):
+ def __init__(self, **kwargs):
+ repo = CONST.__getattribute__('dir_repo_parser')
+ kwargs["cmd"] = 'cd %s/tests && ./functest_run.sh' % repo
+ super(Parser, self).__init__(**kwargs)