()
| 61 | |
| 62 | |
| 63 | def test_stdin(): |
| 64 | with patch("sys.stdin", io.StringIO("# a b c")): |
| 65 | string_io = io.StringIO() |
| 66 | with redirect_stdout(string_io): |
| 67 | assert parse.main(["--stdin"]) == 0 |
| 68 | assert string_io.getvalue() == "<h1>a b c</h1>\n" |
| 69 | |
| 70 | |
| 71 | def test_multiple_files(): |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…