From f704059964253ec2e44f61702553b7e285628cba Mon Sep 17 00:00:00 2001 From: HonahX Date: Tue, 19 Mar 2024 21:17:57 -0700 Subject: [PATCH 1/2] Fix integration_glue_test --- tests/conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index e090e7c020..7cc2bf7b4d 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1858,8 +1858,8 @@ def get_s3_path(bucket_name: str, database_name: Optional[str] = None, table_nam @pytest.fixture(name="s3", scope="module") def fixture_s3_client() -> boto3.client: - with mock_aws(): - yield boto3.client("s3") + """Real S3 client for AWS Integration Tests""" + yield boto3.client("s3") def clean_up(test_catalog: Catalog) -> None: From dbe43816261d576d811118eac8e4697fd1f94d79 Mon Sep 17 00:00:00 2001 From: HonahX Date: Tue, 19 Mar 2024 21:21:51 -0700 Subject: [PATCH 2/2] fix lint --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index 7cc2bf7b4d..205cd2203f 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1858,7 +1858,7 @@ def get_s3_path(bucket_name: str, database_name: Optional[str] = None, table_nam @pytest.fixture(name="s3", scope="module") def fixture_s3_client() -> boto3.client: - """Real S3 client for AWS Integration Tests""" + """Real S3 client for AWS Integration Tests.""" yield boto3.client("s3")