Cleanup sns default topic.

This commit is contained in:
Steve Pulec 2017-02-27 10:20:53 -05:00
commit a22caf27ab
3 changed files with 6 additions and 5 deletions

View file

@ -1,5 +1,6 @@
from __future__ import unicode_literals
import boto
import json
import six
import sure # noqa
@ -75,7 +76,7 @@ def test_topic_attributes():
.format(conn.region.name)
)
attributes["Owner"].should.equal(123456789012)
attributes["Policy"].should.equal(DEFAULT_TOPIC_POLICY)
json.loads(attributes["Policy"]).should.equal(DEFAULT_TOPIC_POLICY)
attributes["DisplayName"].should.equal("")
attributes["SubscriptionsPending"].should.equal(0)
attributes["SubscriptionsConfirmed"].should.equal(0)

View file

@ -72,7 +72,7 @@ def test_topic_attributes():
.format(conn._client_config.region_name)
)
attributes["Owner"].should.equal('123456789012')
attributes["Policy"].should.equal(DEFAULT_TOPIC_POLICY)
json.loads(attributes["Policy"]).should.equal(DEFAULT_TOPIC_POLICY)
attributes["DisplayName"].should.equal("")
attributes["SubscriptionsPending"].should.equal('0')
attributes["SubscriptionsConfirmed"].should.equal('0')