We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa417d4 commit 819ef8dCopy full SHA for 819ef8d
tests/test_wheel.py
@@ -31,6 +31,7 @@ def test_main_default_tool(monkeypatch):
31
"clang_tools.wheel.resolve_install",
32
lambda tool, version: "/usr/bin/clang-format",
33
)
34
- monkeypatch.setattr(sys, "argv", ["wheel.py"])
+ # The CLI requires --tool; simulate running with the default tool explicitly
35
+ monkeypatch.setattr(sys, "argv", ["wheel.py", "--tool", "clang-format"])
36
exit_code = main()
37
assert exit_code == 0
0 commit comments