Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update moto requirement from ~=4.1.14 to ~=5.0.9 in /package #1934

Merged
merged 5 commits into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package/test_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions package/tests/test_integrations/test_sqlite_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down
Loading