diff --git a/moto/sqs/models.py b/moto/sqs/models.py index 2063a952a..87f8183e7 100644 --- a/moto/sqs/models.py +++ b/moto/sqs/models.py @@ -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 diff --git a/tests/test_sqs/test_sqs.py b/tests/test_sqs/test_sqs.py index f84717913..dfa02f7c4 100644 --- a/tests/test_sqs/test_sqs.py +++ b/tests/test_sqs/test_sqs.py @@ -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))