Bugfix: fix the wrong path for vping_ssh
authorhelenyao <yaohelan@huawei.com>
Sat, 26 Nov 2016 02:21:53 +0000 (21:21 -0500)
committerhelenyao <yaohelan@huawei.com>
Sat, 26 Nov 2016 02:21:53 +0000 (21:21 -0500)
JIRA: FUNCTEST-624

Change-Id: Idbd04eb4c09a3bae29f12e43b019ad095ce2cf7b
Signed-off-by: helenyao <yaohelan@huawei.com>
functest/opnfv_tests/openstack/vping/vping_ssh.py

index 6fb35a7..513ad0e 100644 (file)
@@ -120,7 +120,7 @@ class VPingSSH(vping_base.VPingBase):
         self.logger.info("Trying to transfer ping.sh to %s..." % floatip)
         scp = SCPClient(ssh.get_transport())
 
-        ping_script = os.path.join(self.repo + "ping.sh")
+        ping_script = os.path.join(self.repo, "ping.sh")
         try:
             scp.put(ping_script, "~/")
         except: