parent
f46a24180f
commit
56f9409ca9
3 changed files with 14 additions and 11 deletions
|
|
@ -71,7 +71,7 @@ def test_create_queues_in_multiple_region():
|
|||
list(west1_conn.list_queues()['QueueUrls']).should.have.length_of(1)
|
||||
list(west2_conn.list_queues()['QueueUrls']).should.have.length_of(1)
|
||||
|
||||
west1_conn.list_queues()['QueueUrls'][0].should.equal('http://sqs.us-west-1.amazonaws.com/123456789012/blah')
|
||||
west1_conn.list_queues()['QueueUrls'][0].should.equal('https://us-west-1.queue.amazonaws.com/123456789012/blah')
|
||||
|
||||
|
||||
@mock_sqs
|
||||
|
|
@ -85,7 +85,7 @@ def test_get_queue_with_prefix():
|
|||
|
||||
queue = conn.list_queues(QueueNamePrefix="test-")['QueueUrls']
|
||||
queue.should.have.length_of(1)
|
||||
queue[0].should.equal("http://sqs.us-west-1.amazonaws.com/123456789012/test-queue")
|
||||
queue[0].should.equal("https://us-west-1.queue.amazonaws.com/123456789012/test-queue")
|
||||
|
||||
|
||||
@mock_sqs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue