From b68b9472bd6f79763caf855cdaf1512b4dfd98a9 Mon Sep 17 00:00:00 2001 From: PranaliDeore Date: Tue, 11 Aug 2015 00:14:50 -0700 Subject: [PATCH] Fixed unformatted message string In _check_server_connectivity() method of tempest/scenario/test_network_basic_ops module, message is not properly formatted. Formatted the message string properly. Closes-Bug: 1483557 Change-Id: I719106acdacf0c75a86c20eba9c62e27a3a99f0c --- tempest/scenario/test_network_basic_ops.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tempest/scenario/test_network_basic_ops.py b/tempest/scenario/test_network_basic_ops.py index e676063902..12af667ee9 100644 --- a/tempest/scenario/test_network_basic_ops.py +++ b/tempest/scenario/test_network_basic_ops.py @@ -338,8 +338,8 @@ class TestNetworkBasicOps(manager.NetworkScenarioTest): for remote_ip in address_list: if should_connect: - msg = "Timed out waiting for " - "%s to become reachable" % remote_ip + msg = ("Timed out waiting for %s to become " + "reachable") % remote_ip else: msg = "ip address %s is reachable" % remote_ip try: