aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/openstack/vping/vping_ssh.py
diff options
context:
space:
mode:
authorhelenyao <yaohelan@huawei.com>2016-12-01 21:52:43 -0500
committerjose.lausuch <jose.lausuch@ericsson.com>2016-12-02 17:01:19 +0100
commitdc733c31177b0ffdc4c30b9c4801b765909f1c50 (patch)
tree574c2eccbece763723e72d1a23251d3495f939ea /functest/opnfv_tests/openstack/vping/vping_ssh.py
parent9e469ae7bb108bc38cbb9fa8e6a81e8f3ff9a1a7 (diff)
Rename TestCasesBase into TestcaseBase
JIRA: FUNCTEST-628 1. rename the TestCasesBase into TestcaseBase 2. updated the module name to testcase_base.py Change-Id: Ic6b5d8209098c136613a2419c3790668fdbd493e Signed-off-by: helenyao <yaohelan@huawei.com>
Diffstat (limited to 'functest/opnfv_tests/openstack/vping/vping_ssh.py')
-rw-r--r--functest/opnfv_tests/openstack/vping/vping_ssh.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/functest/opnfv_tests/openstack/vping/vping_ssh.py b/functest/opnfv_tests/openstack/vping/vping_ssh.py
index 48913857..8ae590ed 100644
--- a/functest/opnfv_tests/openstack/vping/vping_ssh.py
+++ b/functest/opnfv_tests/openstack/vping/vping_ssh.py
@@ -19,7 +19,7 @@ from scp import SCPClient
import functest.utils.functest_logger as ft_logger
import functest.utils.openstack_utils as os_utils
import vping_base
-from functest.core.TestCasesBase import TestCasesBase
+import functest.core.testcase_base as testcase_base
class VPingSSH(vping_base.VPingBase):
@@ -32,12 +32,12 @@ class VPingSSH(vping_base.VPingBase):
def do_vping(self, vm, test_ip):
floatip = self.add_float_ip(vm)
if not floatip:
- return TestCasesBase.EX_RUN_ERROR
+ return testcase_base.TestcaseBase.EX_RUN_ERROR
ssh = self.establish_ssh(vm, floatip)
if not ssh:
- return TestCasesBase.EX_RUN_ERROR
+ return testcase_base.TestcaseBase.EX_RUN_ERROR
if not self.transfer_ping_script(ssh, floatip):
- return TestCasesBase.EX_RUN_ERROR
+ return testcase_base.TestcaseBase.EX_RUN_ERROR
return self.do_vping_ssh(ssh, test_ip)
def add_float_ip(self, vm):