From 04a78572ed0bfe00dbad22e59ac5f12b6394ed36 Mon Sep 17 00:00:00 2001 From: Damian Barrous-Dume Date: Tue, 8 Oct 2024 11:01:57 +0100 Subject: [PATCH] fix-tests --- lambda_function/tests/test_processor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lambda_function/tests/test_processor.py b/lambda_function/tests/test_processor.py index 92ac21c..cbd1f80 100755 --- a/lambda_function/tests/test_processor.py +++ b/lambda_function/tests/test_processor.py @@ -3,7 +3,7 @@ import json from moto import mock_s3 from pathlib import Path -import astropy.logger +from astropy import log os.environ["SDC_AWS_CONFIG_FILE_PATH"] = "lambda_function/src/config.yaml" from src.file_processor.file_processor import ( # noqa: E402 @@ -11,7 +11,7 @@ FileProcessor, # noqa: E402 ) # noqa: E402 -astropy.logger.disable_warnings_logging() +log.disable_warnings_logging() @pytest.fixture