diff --git a/test/test_init.py b/test/test_init.py index 218746f..84a0a3c 100644 --- a/test/test_init.py +++ b/test/test_init.py @@ -78,5 +78,5 @@ def test_solve_issue_with_no_aider_changes(): mock_get_hash.assert_called_once() mock_has_changes.assert_called_once_with(Path(tmpdirname), "abcdef") # Verify that the initial ruff pass was run - assert any(call_args[0][0] == ['bash', '-c', 'set -e;ruff format;ruff check --fix --ignore RUF022 --ignore PGH004;ruff format;ruff check --fix --ignore RUF022 --ignore PGH004'] + assert any(call_args[0][0] == ['bash', '-c', RUFF_FORMAT_AND_AUTO_FIX] for call_args in mock_run_cmd.call_args_list)