diff options
author | Cedric Ollivier <ollivier.cedric@gmail.com> | 2017-03-28 12:09:51 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-03-28 12:09:51 +0000 |
commit | cff5b6d61f6d7a8e42433c7deebcdeed743b92ca (patch) | |
tree | d7fffa4b2b52ce94fb02352b05fad7a0c91ec529 /functest/opnfv_tests | |
parent | 678d5f956b1af373f61f97187ff3e66fdb315654 (diff) | |
parent | e59055e29b5cc6a027d3a24803cc05fd709cca90 (diff) |
Merge "Revert "Make SFC test a python call to main()""
Diffstat (limited to 'functest/opnfv_tests')
-rw-r--r-- | functest/opnfv_tests/features/odl_sfc.py | 6 |
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 |