Skip to content

Commit

Permalink
Fix broken unit test assert (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
gotmax23 authored Jul 7, 2023
1 parent 1205732 commit be14927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/units/test_subprocess_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def test_log_run_multi() -> None:
assert proc.args == args
assert proc.returncode == 0

assert logger.debug.called_once_with(f"Running subprocess: {args}")
logger.debug.assert_called_once_with(f"Running subprocess: {args}")
assert logger.warn.call_count == 15
assert logger.info.call_count == 15
expected_out: list[str] = []
Expand Down

0 comments on commit be14927

Please sign in to comment.