Skip to content

Commit

Permalink
align mocker test to python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriupredoi committed Nov 1, 2023
1 parent d1d8430 commit cadb20e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/main/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def test_run_recipe_error(mocker, caplog):
print(caplog.text)

# Check that the exit status is 1
assert exit_.called_once_with(1)
exit_.assert_called_once_with(1)

# Check that only the RecipeError is logged above DEBUG level
errors = [r for r in caplog.records if r.levelname != 'DEBUG']
Expand Down

0 comments on commit cadb20e

Please sign in to comment.