Merge pull request #25 from antimora/moto_23
Returning None in get_queue when not found. Closes spulec/moto#23
This commit is contained in:
commit
3b52ba687d
3 changed files with 10 additions and 3 deletions
|
|
@ -27,6 +27,9 @@ def test_get_queue():
|
|||
queue.name.should.equal("test-queue")
|
||||
queue.get_timeout().should.equal(60)
|
||||
|
||||
nonexisting_queue = conn.get_queue("nonexisting_queue")
|
||||
nonexisting_queue.should.be.none
|
||||
|
||||
|
||||
@mock_sqs
|
||||
def test_delete_queue():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue