diff options
-rw-r--r-- | requirements.txt | 1 | ||||
-rw-r--r-- | sdnvpn/test/functest/run_sdnvpn_tests.py | 8 |
2 files changed, 5 insertions, 4 deletions
diff --git a/requirements.txt b/requirements.txt index 2fce79e..19546d0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -12,3 +12,4 @@ python-heatclient>=1.6.1 # Apache-2.0 python-keystoneclient>=3.8.0 # Apache-2.0 python-neutronclient>=6.3.0 # Apache-2.0 python-novaclient>=9.0.0 # Apache-2.0 +xtesting # Apache-2.0 diff --git a/sdnvpn/test/functest/run_sdnvpn_tests.py b/sdnvpn/test/functest/run_sdnvpn_tests.py index 4f391f2..41bd6a1 100644 --- a/sdnvpn/test/functest/run_sdnvpn_tests.py +++ b/sdnvpn/test/functest/run_sdnvpn_tests.py @@ -15,7 +15,7 @@ import sys import traceback import yaml -from functest.core import feature as base +from xtesting.core import feature from sdnvpn.lib import config as sdnvpn_config from sdnvpn.lib import openstack_utils as os_utils from sdnvpn.lib.gather_logs import gather_logs @@ -24,7 +24,7 @@ from sdnvpn.lib import utils as test_utils COMMON_CONFIG = sdnvpn_config.CommonConfig() -class SdnvpnFunctest(base.Feature): +class SdnvpnFunctest(feature.Feature): __logger = logging.getLogger(__name__) @@ -123,9 +123,9 @@ class SdnvpnFunctest(base.Feature): if overall_status == "PASS": self.result = 100 - return base.Feature.EX_OK + return feature.Feature.EX_OK - return base.Feature.EX_RUN_ERROR + return feature.Feature.EX_RUN_ERROR if __name__ == '__main__': |