()
| 51 | |
| 52 | |
| 53 | def test_parser(): |
| 54 | err = ("FAILED (errors=1)", 1, 0) |
| 55 | fail = ("FAILED (failures=1)", 0, 1) |
| 56 | both = ("FAILED (errors=1, failures=1)", 1, 1) |
| 57 | for txt, nerr, nfail in [err, fail, both]: |
| 58 | nerr1, nfail1 = tt.parse_test_output(txt) |
| 59 | nt.assert_equal(nerr, nerr1) |
| 60 | nt.assert_equal(nfail, nfail1) |
| 61 | |
| 62 | |
| 63 | def test_temp_pyfile(): |
nothing calls this directly
no outgoing calls
no test coverage detected