diff --git a/tests/datasource/conftest.py b/tests/datasource/conftest.py index f41bffdb4005..d78acabb14f4 100644 --- a/tests/datasource/conftest.py +++ b/tests/datasource/conftest.py @@ -73,9 +73,12 @@ def glue_titanic_catalog(): "AWS Glue Data Catalog Data Connector tests are requested, but boto3 is not installed" ) + os.environ[ + "AWS_DEFAULT_REGION" + ] = "testing" # required when connecting to the glue client, even when mocked + with mock_glue(): - region_name: str = "us-east-1" - client = boto3.client("glue", region_name=region_name) + client = boto3.client("glue") database_name = "db_test" # Create Database