diff --git a/package/test_requirements.txt b/package/test_requirements.txt index 6f1d69b9e5..1c9e3ec12a 100644 --- a/package/test_requirements.txt +++ b/package/test_requirements.txt @@ -11,7 +11,7 @@ flake8~=7.0 isort~=5.11 matplotlib~=3.5 mypy~=1.0 -moto~=4.1.14 +moto~=5.0.9 psutil==5.9.6 # same as Kedro for now pylint~=3.0 pylint-pydantic>=0.3.0 diff --git a/package/tests/test_integrations/test_sqlite_store.py b/package/tests/test_integrations/test_sqlite_store.py index b60e7d8bca..924ff21ddb 100644 --- a/package/tests/test_integrations/test_sqlite_store.py +++ b/package/tests/test_integrations/test_sqlite_store.py @@ -7,7 +7,7 @@ import boto3 import pytest -from moto import mock_s3 +from moto import mock_aws from sqlalchemy import create_engine, func, select from sqlalchemy.orm import sessionmaker @@ -42,7 +42,7 @@ def aws_credentials(): @pytest.fixture(scope="class") def mocked_s3_bucket(aws_credentials): """S3 Mock Client""" - with mock_s3(): + with mock_aws(): conn = boto3.client("s3", region_name="us-east-1") conn.create_bucket(Bucket=BUCKET_NAME) yield conn