Make test_create_and_delete_topic python 2.6 compatible

This commit is contained in:
Ilya Sukhanov 2015-08-03 10:32:33 -04:00
parent 3291f325dd
commit 1819cd7636

View File

@ -18,7 +18,7 @@ def test_create_and_delete_topic():
topics = topics_json["ListTopicsResponse"]["ListTopicsResult"]["Topics"]
topics.should.have.length_of(1)
topics[0]['TopicArn'].should.equal(
"arn:aws:sns:{}:123456789012:some-topic"
"arn:aws:sns:{0}:123456789012:some-topic"
.format(conn.region.name)
)