aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCedric Ollivier <ollivier.cedric@gmail.com>2017-03-28 12:09:51 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-28 12:09:51 +0000
commitcff5b6d61f6d7a8e42433c7deebcdeed743b92ca (patch)
treed7fffa4b2b52ce94fb02352b05fad7a0c91ec529
parent678d5f956b1af373f61f97187ff3e66fdb315654 (diff)
parente59055e29b5cc6a027d3a24803cc05fd709cca90 (diff)
Merge "Revert "Make SFC test a python call to main()""
-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 431cd47e4..1956c9c8e 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