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