Skip to content

Commit

Permalink
Test configure
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarrous committed Oct 8, 2024
1 parent 04a7857 commit cbc6dd3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lambda_function/tests/test_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@
import json
from moto import mock_s3
from pathlib import Path
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
handle_event, # noqa: E402
FileProcessor, # noqa: E402
configure_logger, # noqa: E402
) # noqa: E402

log.disable_warnings_logging()
configure_logger()


@pytest.fixture
Expand Down

0 comments on commit cbc6dd3

Please sign in to comment.