fix: update test to use RUFF_FORMAT_AND_AUTO_FIX constant
This commit is contained in:
parent
dce25d79d6
commit
34c89c0e5f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user