From 4f1b7fb495e4e8190a12b905e10ef51d55c16af0 Mon Sep 17 00:00:00 2001 From: Adit Sarfaty Date: Thu, 11 Apr 2019 09:05:18 +0300 Subject: [PATCH] Fix Log.exception format errors Change-Id: I84276bf837a0270bbf9a1bc4fccb34342cadc6f3 --- .../tests/nsxv3/scenario/test_multi_hv_network_ops.py | 4 ++-- .../tests/nsxv3/scenario/test_multiple_networks_ops.py | 4 ++-- .../tests/nsxv3/scenario/test_router_nonat_ops.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/vmware_nsx_tempest_plugin/tests/nsxv3/scenario/test_multi_hv_network_ops.py b/vmware_nsx_tempest_plugin/tests/nsxv3/scenario/test_multi_hv_network_ops.py index 33d2128..9f5518e 100644 --- a/vmware_nsx_tempest_plugin/tests/nsxv3/scenario/test_multi_hv_network_ops.py +++ b/vmware_nsx_tempest_plugin/tests/nsxv3/scenario/test_multi_hv_network_ops.py @@ -154,8 +154,8 @@ class TestMultiHVNetworkOps(manager.NetworkScenarioTest): (ssh_source, remote_ip, should_connect), msg) except Exception: - LOG.exception("Unable to access %{dest}s via ssh to " - "floating-ip %{src}s", + LOG.exception("Unable to access %(dest)s via ssh to " + "floating-ip %(src)s", {'dest': remote_ip, 'src': floating_ip}) raise diff --git a/vmware_nsx_tempest_plugin/tests/nsxv3/scenario/test_multiple_networks_ops.py b/vmware_nsx_tempest_plugin/tests/nsxv3/scenario/test_multiple_networks_ops.py index a7e19e9..7dda04a 100644 --- a/vmware_nsx_tempest_plugin/tests/nsxv3/scenario/test_multiple_networks_ops.py +++ b/vmware_nsx_tempest_plugin/tests/nsxv3/scenario/test_multiple_networks_ops.py @@ -195,8 +195,8 @@ class TestMultiNetworksOps(manager.NetworkScenarioTest): (ssh_source, remote_ip, should_connect), msg) except Exception: - LOG.exception("Unable to access %{dest}s via ssh to " - "floating-ip %{src}s", + LOG.exception("Unable to access %(dest)s via ssh to " + "floating-ip %(src)s", {'dest': remote_ip, 'src': floating_ip}) raise diff --git a/vmware_nsx_tempest_plugin/tests/nsxv3/scenario/test_router_nonat_ops.py b/vmware_nsx_tempest_plugin/tests/nsxv3/scenario/test_router_nonat_ops.py index 565cb54..c9d24ec 100644 --- a/vmware_nsx_tempest_plugin/tests/nsxv3/scenario/test_router_nonat_ops.py +++ b/vmware_nsx_tempest_plugin/tests/nsxv3/scenario/test_router_nonat_ops.py @@ -240,8 +240,8 @@ class TestRouterNoNATOps(manager.NetworkScenarioTest): (ssh_source, remote_ip, should_connect), msg) except Exception: - LOG.exception("Unable to access %{dest}s via ssh to " - "floating-ip %{src}s", + LOG.exception("Unable to access %(dest)s via ssh to " + "floating-ip %(src)s", {'dest': remote_ip, 'src': floating_ip}) raise