Skip to content

Commit

Permalink
Set level explicitly in test
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathangreen committed Jun 13, 2024
1 parent fa221bd commit 29228cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/manager/celery/test_monitoring.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ def test_on_shutter(
cloudwatch_camera: CloudwatchCameraFixture,
caplog: pytest.LogCaptureFixture,
):
caplog.set_level(LogLevel.warning)
cloudwatch = cloudwatch_camera.create_cloudwatch()
mock_publish = create_autospec(cloudwatch.publish)
cloudwatch.publish = mock_publish
Expand Down

0 comments on commit 29228cd

Please sign in to comment.