Cleanup model ref resetting.
This commit is contained in:
parent
308712841c
commit
b19c201975
3 changed files with 7 additions and 2 deletions
|
|
@ -2,7 +2,7 @@ import sure # noqa
|
|||
import boto3
|
||||
from moto import mock_sqs
|
||||
|
||||
def test_reset_api():
|
||||
def test_context_manager_returns_mock():
|
||||
with mock_sqs() as sqs_mock:
|
||||
conn = boto3.client("sqs", region_name='us-west-1')
|
||||
conn.create_queue(QueueName="queue1")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue