Cleanup sns default topic.
This commit is contained in:
parent
5a56b3a049
commit
a22caf27ab
3 changed files with 6 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue