Merge pull request #665 from macheins/fix-broken-sqs-queue-arn-attribute

Fix broken SQS QueueArn attribute
This commit is contained in:
Steve Pulec 2016-07-24 09:28:47 -04:00 committed by GitHub
commit ececa8009b
2 changed files with 2 additions and 2 deletions

View File

@ -122,7 +122,7 @@ class Queue(object):
self.last_modified_timestamp = now
self.maximum_message_size = 64 << 10
self.message_retention_period = 86400 * 4 # four days
self.queue_arn = 'arn:aws:sqs:sqs.us-east-1:123456789012:%s' % self.name
self.queue_arn = 'arn:aws:sqs:us-east-1:123456789012:%s' % self.name
self.receive_message_wait_time_seconds = 0
@classmethod

View File

@ -395,7 +395,7 @@ def test_queue_attributes():
attributes = queue.get_attributes()
attributes['QueueArn'].should.look_like(
'arn:aws:sqs:sqs.us-east-1:123456789012:%s' % queue_name)
'arn:aws:sqs:us-east-1:123456789012:%s' % queue_name)
attributes['VisibilityTimeout'].should.look_like(str(visibility_timeout))