(command: list[str], **kwargs: Any)
| 985 | |
| 986 | def fail_project_scripts(monkeypatch: pytest.MonkeyPatch) -> None: |
| 987 | def failing(command: list[str], **kwargs: Any) -> None: |
| 988 | raise subprocess.CalledProcessError( |
| 989 | SCRIPT_EXIT_CODE, command, output=f"{SECRET} failed" |
| 990 | ) |
| 991 | |
| 992 | monkeypatch.setattr(subprocess, "run", failing) |
| 993 |
nothing calls this directly
no outgoing calls
no test coverage detected