add positional argument for python 2.6 compatiblity

This commit is contained in:
Dan Tenenbaum 2016-11-03 14:42:23 -07:00
parent de0a741309
commit ed7ea86f7b

View File

@ -115,7 +115,7 @@ def test_tag_limit_exceeded():
instance = reservation.instances[0]
tag_dict = {}
for i in range(51):
tag_dict['{:02d}'.format(i+1)] = ''
tag_dict['{0:02d}'.format(i+1)] = ''
with assert_raises(EC2ResponseError) as cm:
conn.create_tags(instance.id, tag_dict)