Merge pull request #665 from macheins/fix-broken-sqs-queue-arn-attribute
Fix broken SQS QueueArn attribute
This commit is contained in:
commit
ececa8009b
@ -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
|
||||
|
@ -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))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user