diff options
author | Linda Wang <wangwulin@huawei.com> | 2017-12-04 07:09:38 +0000 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-12-05 20:41:21 +0100 |
commit | 0da9c0665df587b97129472b38c52dd6c1ab12a4 (patch) | |
tree | 5ed5dbf08f2035f87c45e6bfec55a5881a7e34b3 /functest/opnfv_tests/openstack/vping/vping_userdata.py | |
parent | 462b1f77176092d2ea075f32bf60d06920c87240 (diff) |
Fix pylint errors of vping
Change-Id: I272f0eb6fb0f2a274484a3dcfacd8ed65e4a5b23
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Diffstat (limited to 'functest/opnfv_tests/openstack/vping/vping_userdata.py')
-rw-r--r-- | functest/opnfv_tests/openstack/vping/vping_userdata.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/functest/opnfv_tests/openstack/vping/vping_userdata.py b/functest/opnfv_tests/openstack/vping/vping_userdata.py index 4cc8f42f..ceba0917 100644 --- a/functest/opnfv_tests/openstack/vping/vping_userdata.py +++ b/functest/opnfv_tests/openstack/vping/vping_userdata.py @@ -7,6 +7,8 @@ # # http://www.apache.org/licenses/LICENSE-2.0 +"""vping_userdata testcase.""" + import time from snaps.config.network import PortConfig @@ -47,8 +49,8 @@ class VPingUserdata(vping_base.VPingBase): port_settings=[port1_settings]) self.logger.info( - "Creating VM 1 instance with name: '%s'" - % instance1_settings.name) + "Creating VM 1 instance with name: '%s'", + instance1_settings.name) self.vm1_creator = deploy_utils.create_vm_instance( self.os_creds, instance1_settings, self.image_creator.image_settings) @@ -69,8 +71,8 @@ class VPingUserdata(vping_base.VPingBase): userdata=userdata) self.logger.info( - "Creating VM 2 instance with name: '%s'" - % instance2_settings.name) + "Creating VM 2 instance with name: '%s'", + instance2_settings.name) self.vm2_creator = deploy_utils.create_vm_instance( self.os_creds, instance2_settings, self.image_creator.image_settings) @@ -113,7 +115,7 @@ class VPingUserdata(vping_base.VPingBase): tries += 1 else: self.logger.debug( - "Pinging %s. Waiting for response..." % test_ip) + "Pinging %s. Waiting for response...", test_ip) sec += 1 return exit_code |