Skip to content

Commit

Permalink
fixtest: bump moto version and fix backwards incompatible calls
Browse files Browse the repository at this point in the history
  • Loading branch information
william-silversmith committed Mar 5, 2024
1 parent a466395 commit 0ddf295
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions automated_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import shutil
import time

from moto import mock_s3
from moto import mock_aws

COMPRESSION_TYPES = [
None, False, True,
Expand Down Expand Up @@ -36,7 +36,7 @@ def aws_credentials():

@pytest.fixture(scope='function')
def s3(aws_credentials):
with mock_s3():
with mock_aws():
import boto3
conn = boto3.client('s3', region_name='us-east-1')
conn.create_bucket(Bucket="cloudfiles")
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ packages =
[extras]
test =
pytest
moto
moto>=5
numpy =
numpy

0 comments on commit 0ddf295

Please sign in to comment.