Skip to content

Commit 3f63e6c

Browse files
committed
test: set AWS regions explicitly
1 parent 7642f02 commit 3f63e6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/catalog/test_s3tables.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ def table_bucket_arn() -> str:
3030

3131
@pytest.fixture
3232
def catalog(table_bucket_arn: str) -> S3TableCatalog:
33-
properties = {"s3tables.table-bucket-arn": table_bucket_arn}
33+
properties = {"s3tables.table-bucket-arn": table_bucket_arn, "s3tables.region": "us-east-1", "s3.region": "us-east-1"}
3434
return S3TableCatalog(name="test_s3tables_catalog", **properties)
3535

3636

3737
def test_creating_catalog_validates_s3_table_bucket_exists(table_bucket_arn: str) -> None:
38-
properties = {"s3tables.table-bucket-arn": f"{table_bucket_arn}-modified"}
38+
properties = {"s3tables.table-bucket-arn": f"{table_bucket_arn}-modified", "s3tables.region": "us-east-1"}
3939
with pytest.raises(TableBucketNotFound):
4040
S3TableCatalog(name="test_s3tables_catalog", **properties)
4141

0 commit comments

Comments
 (0)