Repository navigation
Commit ea2336a
ci: install graphviz in unittest/codecov jobs
test_dotfile() exercises the real dot->PDF rendering path via
showgraph(), but only the docs job installed graphviz -- unittest
and codecov didn't, so `dot` was silently missing there. The previous
version of this test had no assertion on the result, so this went
unnoticed; the new assertion (mock_open.assert_called_once(), added
in this same PR) correctly caught it: CI failed with "dot: not
found", showgraph()'s subprocess call returned nonzero, and
webbrowser.open() was consequently never reached.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent af31c62 commit ea2336a
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
| 64 | + | |
| 65 | + | |
62 | 66 | | |
63 | 67 | | |
64 | 68 | | |
| |||
0 commit comments