Skip to content

Commit f5df9c8

Browse files
committed
Fix format positional argument specifier error in Python 2.6 tests
1 parent 6b53d7c commit f5df9c8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/test_integration/test_integration_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ def teardown_module(module):
5252
pool.map(destroy_server, manager.get_servers())
5353
pool.map(delete_tag, manager.get_tags())
5454
else:
55-
print('removing {}'.format(CREATED_SERVERS))
55+
print('removing {0}'.format(CREATED_SERVERS))
5656
for server in CREATED_SERVERS:
5757
server.stop_and_destroy()
5858

59-
print('removing {}'.format(CREATED_TAGS))
59+
print('removing {0}'.format(CREATED_TAGS))
6060
for tag in CREATED_TAGS:
6161
manager.delete_tag(tag)
6262

@@ -97,7 +97,7 @@ def test_infra_ops():
9797
found = True
9898

9999
if not found:
100-
raise Exception('server {} not found in all_servers'.format(cs.uuid))
100+
raise Exception('server {0} not found in all_servers'.format(cs.uuid))
101101

102102
# assert servers' states
103103
# TODO(elnygren): add more assertions here

0 commit comments

Comments
 (0)