From d9d48bf1ce6b2ea8db7a0a64f53dc7de65a6e72c Mon Sep 17 00:00:00 2001 From: zhufl Date: Wed, 27 Jul 2016 11:14:21 +0800 Subject: [PATCH] Add missing %s in print message This is to add some missing %s in print message Change-Id: Ia79dd71254eda5a608c926435051ecaab3d7b22d --- ceilometer/tests/tempest/exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceilometer/tests/tempest/exceptions.py b/ceilometer/tests/tempest/exceptions.py index 92f335f995..de22a417dd 100644 --- a/ceilometer/tests/tempest/exceptions.py +++ b/ceilometer/tests/tempest/exceptions.py @@ -119,7 +119,7 @@ class ServerUnreachable(TempestException): # of get_network_from_name and preprov_creds to tempest.lib, and it should # be migrated along with them class InvalidTestResource(TempestException): - message = "%(name) is not a valid %(type), or the name is ambiguous" + message = "%(name)s is not a valid %(type)s, or the name is ambiguous" class RFCViolation(RestClientException):