Skip to content

Commit

Permalink
fix-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarrous committed Oct 8, 2024
1 parent 0195cb3 commit 56a2710
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lambda_function/src/file_processor/file_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
)

# Configure logger
# configure_logger()
configure_logger()


def handle_event(event, context) -> dict:
Expand Down
3 changes: 3 additions & 0 deletions lambda_function/tests/test_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import json
from moto import mock_s3
from pathlib import Path
from swxsoc import log


os.environ["SDC_AWS_CONFIG_FILE_PATH"] = "lambda_function/src/config.yaml"
Expand All @@ -11,6 +12,8 @@
FileProcessor, # noqa: E402
) # noqa: E402

log.enable_warnings_logging()


@pytest.fixture
def aws_credentials():
Expand Down

0 comments on commit 56a2710

Please sign in to comment.