Skip to content

Commit

Permalink
test: update tests to work with newest moto
Browse files Browse the repository at this point in the history
  • Loading branch information
william-silversmith committed May 7, 2024
1 parent 6eea2cf commit d18e2d2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
CHANGES
=======

2.13.0
------

* release(2.13.0): adds --load to cp, adds renew\_lease to sqs
* chore: update ChangeLog
* feat: add ability to load definitions in cp
* feat: implement renew\_lease for sqs

2.12.1
------

Expand Down
4 changes: 2 additions & 2 deletions test/test_taskqueue.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import os
import time

from moto import mock_sqs
from moto import mock_aws

from six.moves import range
import pytest
Expand All @@ -29,7 +29,7 @@ def aws_credentials():

@pytest.fixture(scope='function')
def sqs(aws_credentials):
with mock_sqs():
with mock_aws():
import boto3
client = boto3.client('sqs')
client.create_queue(QueueName='test-pull-queue')
Expand Down

0 comments on commit d18e2d2

Please sign in to comment.