Merge pull request #681 from ronin13/queue-arn
Use region from ctor to set queue_arn.
This commit is contained in:
commit
18d1bb1079
2 changed files with 2 additions and 1 deletions
|
|
@ -511,6 +511,7 @@ def test_boto3_get_queue():
|
|||
queue = sqs.get_queue_by_name(QueueName='test-queue')
|
||||
queue.attributes.get('QueueArn').should_not.be.none
|
||||
queue.attributes.get('QueueArn').split(':')[-1].should.equal('test-queue')
|
||||
queue.attributes.get('QueueArn').split(':')[3].should.equal('us-east-1')
|
||||
queue.attributes.get('VisibilityTimeout').should_not.be.none
|
||||
queue.attributes.get('VisibilityTimeout').should.equal('30')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue