aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/sdn/odl
diff options
context:
space:
mode:
Diffstat (limited to 'functest/opnfv_tests/sdn/odl')
-rwxr-xr-xfunctest/opnfv_tests/sdn/odl/odl.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/functest/opnfv_tests/sdn/odl/odl.py b/functest/opnfv_tests/sdn/odl/odl.py
index c3fcb241..95440746 100755
--- a/functest/opnfv_tests/sdn/odl/odl.py
+++ b/functest/opnfv_tests/sdn/odl/odl.py
@@ -20,7 +20,7 @@ from robot.errors import RobotError
import robot.run
from robot.utils.robottime import timestamp_to_secs
-from functest.core import TestCasesBase
+import functest.core.testcase_base as testcase_base
import functest.utils.functest_logger as ft_logger
import functest.utils.openstack_utils as op_utils
import functest.utils.functest_constants as ft_constants
@@ -47,7 +47,7 @@ class ODLResultVisitor(ResultVisitor):
return self._data
-class ODLTests(TestCasesBase.TestCasesBase):
+class ODLTests(testcase_base.TestcaseBase):
repos = ft_constants.REPOS_DIR
odl_test_repo = os.path.join(repos, "odl_test")
@@ -233,9 +233,9 @@ if __name__ == '__main__':
odl = ODLTests()
try:
result = odl.main(**args)
- if result != TestCasesBase.TestCasesBase.EX_OK:
+ if result != testcase_base.TestcaseBase.EX_OK:
sys.exit(result)
if args['pushtodb']:
sys.exit(odl.push_to_db())
except Exception:
- sys.exit(TestCasesBase.TestCasesBase.EX_RUN_ERROR)
+ sys.exit(testcase_base.TestcaseBase.EX_RUN_ERROR)