Make test_create_and_delete_topic python 2.6 compatible
This commit is contained in:
parent
3291f325dd
commit
1819cd7636
@ -18,7 +18,7 @@ def test_create_and_delete_topic():
|
|||||||
topics = topics_json["ListTopicsResponse"]["ListTopicsResult"]["Topics"]
|
topics = topics_json["ListTopicsResponse"]["ListTopicsResult"]["Topics"]
|
||||||
topics.should.have.length_of(1)
|
topics.should.have.length_of(1)
|
||||||
topics[0]['TopicArn'].should.equal(
|
topics[0]['TopicArn'].should.equal(
|
||||||
"arn:aws:sns:{}:123456789012:some-topic"
|
"arn:aws:sns:{0}:123456789012:some-topic"
|
||||||
.format(conn.region.name)
|
.format(conn.region.name)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user