add positional argument for python 2.6 compatiblity
This commit is contained in:
parent
de0a741309
commit
ed7ea86f7b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user