(arg)
| 21 | |
| 22 | def check_latex_to_png_dvipng_fails_when_no_cmd(command): |
| 23 | def mock_find_cmd(arg): |
| 24 | if arg == command: |
| 25 | raise FindCmdError |
| 26 | |
| 27 | with patch.object(latextools, "find_cmd", mock_find_cmd): |
| 28 | nt.assert_equal(latextools.latex_to_png_dvipng("whatever", True), |
nothing calls this directly
no outgoing calls
no test coverage detected