()
| 139 | |
| 140 | def test_main_exits_with_error_when_command_raises(monkeypatch, capsys): |
| 141 | def fake_cli(): |
| 142 | raise RuntimeError("boom") |
| 143 | |
| 144 | monkeypatch.setattr(cli_main, "codecarbon", fake_cli) |
| 145 |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…