diff --git a/functions/data_test/data_test/data_test.py b/functions/data_test/data_test/data_test.py index 66d8a8f..58a1899 100755 --- a/functions/data_test/data_test/data_test.py +++ b/functions/data_test/data_test/data_test.py @@ -11,8 +11,8 @@ def handler(event, context): logger.info("Starting data test") + _ignore_warnings() if os.environ['ENVIRONMENT'] == 'local': - _ignore_warnings() endpoint_url = (f"http://{os.environ['S3_HOST']}:" f"{os.environ['S3_PORT']}") s3 = boto3.resource("s3", endpoint_url=endpoint_url)