(*args: Any, **kwargs: Any)
| 18 | """A failed `uv sync` must not be reported as a successful install.""" |
| 19 | |
| 20 | def failing_run(*args: Any, **kwargs: Any) -> None: |
| 21 | raise subprocess.CalledProcessError( |
| 22 | 2, ["uv", "sync"], output="No solution found" |
| 23 | ) |
| 24 | |
| 25 | monkeypatch.setattr(install_module.subprocess, "run", failing_run) |
| 26 | monkeypatch.setattr( |
nothing calls this directly
no outgoing calls
no test coverage detected