From 92a665918f3e86c2221fb46d48610ba20348266e Mon Sep 17 00:00:00 2001 From: Felix Scherz Date: Sun, 5 Jan 2025 17:25:29 +0100 Subject: [PATCH] test: set AWS regions explicitly --- tests/catalog/test_s3tables.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/catalog/test_s3tables.py b/tests/catalog/test_s3tables.py index f97371540b..930b11ec9a 100644 --- a/tests/catalog/test_s3tables.py +++ b/tests/catalog/test_s3tables.py @@ -30,12 +30,12 @@ def table_bucket_arn() -> str: @pytest.fixture def catalog(table_bucket_arn: str) -> S3TableCatalog: - properties = {"s3tables.table-bucket-arn": table_bucket_arn} + properties = {"s3tables.table-bucket-arn": table_bucket_arn, "s3tables.region": "us-east-1", "s3.region": "us-east-1"} return S3TableCatalog(name="test_s3tables_catalog", **properties) def test_creating_catalog_validates_s3_table_bucket_exists(table_bucket_arn: str) -> None: - properties = {"s3tables.table-bucket-arn": f"{table_bucket_arn}-modified"} + properties = {"s3tables.table-bucket-arn": f"{table_bucket_arn}-modified", "s3tables.region": "us-east-1"} with pytest.raises(TableBucketNotFound): S3TableCatalog(name="test_s3tables_catalog", **properties)