aboutsummaryrefslogtreecommitdiffstats
path: root/functest/core/vnf_base.py
diff options
context:
space:
mode:
authorCedric Ollivier <ollivier.cedric@gmail.com>2017-03-28 08:12:15 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-28 08:12:15 +0000
commit514c97b036cf968e03e600a4761757448bef0a0a (patch)
tree1c26ce72ed668b8e183da925d7b5bced89445e22 /functest/core/vnf_base.py
parent5af67bcca589c275b73fe5e4bca9bea5871948aa (diff)
parent407d27585f109e3381bb49041abc49a14b7b5bfe (diff)
Merge "Switch TestcaseBase to TestCase"
Diffstat (limited to 'functest/core/vnf_base.py')
-rw-r--r--functest/core/vnf_base.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/functest/core/vnf_base.py b/functest/core/vnf_base.py
index f5e86054..cd689c27 100644
--- a/functest/core/vnf_base.py
+++ b/functest/core/vnf_base.py
@@ -18,7 +18,7 @@ import testcase_base as base
from functest.utils.constants import CONST
-class VnfOnBoardingBase(base.TestcaseBase):
+class VnfOnBoardingBase(base.TestCase):
logger = ft_logger.Logger(__name__).getLogger()
@@ -58,7 +58,7 @@ class VnfOnBoardingBase(base.TestcaseBase):
except Exception:
self.logger.error("Error during VNF Onboarding environment" +
"creation", exc_info=True)
- return base.TestcaseBase.EX_TESTCASE_FAILED
+ return base.TestCase.EX_TESTCASE_FAILED
# Deploy orchestrator
try:
@@ -87,7 +87,7 @@ class VnfOnBoardingBase(base.TestcaseBase):
vnf_ready_time - orchestrator_ready_time, 1)
except Exception:
self.logger.error("Error during VNF deployment", exc_info=True)
- return base.TestcaseBase.EX_TESTCASE_FAILED
+ return base.TestCase.EX_TESTCASE_FAILED
# Test VNF
try:
@@ -100,7 +100,7 @@ class VnfOnBoardingBase(base.TestcaseBase):
test_vnf_done_time - vnf_ready_time, 1)
except Exception:
self.logger.error("Error when running VNF tests", exc_info=True)
- return base.TestcaseBase.EX_TESTCASE_FAILED
+ return base.TestCase.EX_TESTCASE_FAILED
# Clean the system
self.clean()