Skip to content

Commit

Permalink
Fix serialization tests by updating moto import
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamar Grey committed Feb 6, 2024
1 parent 1838f96 commit 1aed0d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions featuretools/tests/entityset_tests/test_serialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,9 @@ def test_to_pickle_id_none(tmp_path):
@pytest.fixture
def s3_client():
_environ = os.environ.copy()
from moto import mock_s3
from moto import mock_aws

with mock_s3():
with mock_aws():
s3 = boto3.resource("s3")
yield s3
os.environ.clear()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,9 @@ def serialize_name_unchanged(original):
@pytest.fixture
def s3_client():
_environ = os.environ.copy()
from moto import mock_s3
from moto import mock_aws

with mock_s3():
with mock_aws():
s3 = boto3.resource("s3")
yield s3
os.environ.clear()
Expand Down

0 comments on commit 1aed0d5

Please sign in to comment.