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.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/functest/opnfv_tests/vnf/rnc/parser.py b/functest/opnfv_tests/vnf/rnc/parser.py
index ff726b9ea..3e6b138c2 100644
--- a/functest/opnfv_tests/vnf/rnc/parser.py
+++ b/functest/opnfv_tests/vnf/rnc/parser.py
@@ -16,10 +16,11 @@
#
import functest.core.feature as base
+from functest.utils.constants import CONST
-class Parser(base.Feature):
+class Parser(base.BashFeature):
def __init__(self, **kwargs):
- kwargs["repo"] = 'dir_repo_parser'
+ repo = CONST.__getattribute__('dir_repo_parser')
+ kwargs["cmd"] = 'cd %s/tests && ./functest_run.sh' % repo
super(Parser, self).__init__(**kwargs)
- self.cmd = 'cd %s/tests && ./functest_run.sh' % self.repo