Skip to content

Commit

Permalink
Update logging test
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathangreen committed Apr 10, 2024
1 parent 6519e5e commit ff9f712
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/core/service/logging/test_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def test_create_cloudwatch_handler() -> None:
assert handler.send_interval == 13
assert any(isinstance(f, LogLoopPreventionFilter) for f in handler.filters)
assert handler.formatter == mock_formatter
assert handler.level == logging.INFO
assert handler.level == logging.NOTSET


def test_create_stream_handler() -> None:
Expand All @@ -192,7 +192,7 @@ def test_create_stream_handler() -> None:
assert isinstance(handler, logging.StreamHandler)
assert not any(isinstance(f, LogLoopPreventionFilter) for f in handler.filters)
assert handler.formatter == mock_formatter
assert handler.level == logging.DEBUG
assert handler.level == logging.NOTSET


def test_setup_logging_cloudwatch_disabled() -> None:
Expand Down

0 comments on commit ff9f712

Please sign in to comment.