We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39fc233 commit 538c420Copy full SHA for 538c420
tests/test_hooks/test_run_hooks.py
@@ -49,9 +49,9 @@ def test_raises_exception_if_hook_fails(mocker):
49
50
# Assert
51
expected_debug_calls = [mocker.call("Running 'script1'")]
52
- expected_info_calls = [mocker.call("output"), mocker.call("error")]
+ expected_warning_calls = [mocker.call("output"), mocker.call("error")]
53
mock_logger.debug.assert_has_calls(expected_debug_calls)
54
- mock_logger.info.assert_has_calls(expected_info_calls)
+ mock_logger.warning.assert_has_calls(expected_warning_calls)
55
mock_run_command.assert_any_call("script1", env)
56
57
0 commit comments