diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2017-03-23 09:47:37 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-03-23 09:47:37 +0000 |
commit | e6f875c4a756245c47211483247fe3674fd73834 (patch) | |
tree | 484edbb88ad554d2aca414d63acc94c341531bff /functest | |
parent | a69de7f9b30220e50cd50dc415780791538a0b0b (diff) | |
parent | d5820bef80ea4bdb871380dbfe41db12290fc5f8 (diff) |
Merge "Make SFC test a python call to main()"
Diffstat (limited to 'functest')
-rw-r--r-- | functest/opnfv_tests/features/odl_sfc.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/functest/opnfv_tests/features/odl_sfc.py b/functest/opnfv_tests/features/odl_sfc.py index 1956c9c8..431cd47e 100644 --- a/functest/opnfv_tests/features/odl_sfc.py +++ b/functest/opnfv_tests/features/odl_sfc.py @@ -8,6 +8,7 @@ # 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): @@ -16,5 +17,6 @@ class OpenDaylightSFC(base.FeatureBase): super(OpenDaylightSFC, self).__init__(project='sfc', case='functest-odl-sfc', repo='dir_repo_sfc') - dir_sfc_functest = '{}/sfc/tests/functest'.format(self.repo) - self.cmd = 'cd %s && python ./run_tests.py' % dir_sfc_functest + + def execute(self): + return run_tests.main() |