aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/features/odl_sfc.py
diff options
context:
space:
mode:
Diffstat (limited to 'functest/opnfv_tests/features/odl_sfc.py')
-rw-r--r--functest/opnfv_tests/features/odl_sfc.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/functest/opnfv_tests/features/odl_sfc.py b/functest/opnfv_tests/features/odl_sfc.py
index 431cd47e..1956c9c8 100644
--- a/functest/opnfv_tests/features/odl_sfc.py
+++ b/functest/opnfv_tests/features/odl_sfc.py
@@ -8,7 +8,6 @@
# http://www.apache.org/licenses/LICENSE-2.0
#
import functest.core.feature_base as base
-from sfc.tests.functest import run_tests
class OpenDaylightSFC(base.FeatureBase):
@@ -17,6 +16,5 @@ class OpenDaylightSFC(base.FeatureBase):
super(OpenDaylightSFC, self).__init__(project='sfc',
case='functest-odl-sfc',
repo='dir_repo_sfc')
-
- def execute(self):
- return run_tests.main()
+ dir_sfc_functest = '{}/sfc/tests/functest'.format(self.repo)
+ self.cmd = 'cd %s && python ./run_tests.py' % dir_sfc_functest