From 1819cd7636bbc8abe7635edaf3c430fe20a491fc Mon Sep 17 00:00:00 2001 From: Ilya Sukhanov Date: Mon, 3 Aug 2015 10:32:33 -0400 Subject: [PATCH] Make test_create_and_delete_topic python 2.6 compatible --- tests/test_sns/test_topics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_sns/test_topics.py b/tests/test_sns/test_topics.py index 59066ac0d..a2a8092ee 100644 --- a/tests/test_sns/test_topics.py +++ b/tests/test_sns/test_topics.py @@ -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) )