(tdata)
| 208 | |
| 209 | |
| 210 | def test_load(tdata): |
| 211 | cp = ClientPlayback() |
| 212 | with taddons.context(cp): |
| 213 | cp.load_file(tdata.path("mitmproxy/data/dumpfile-018.mitm")) |
| 214 | assert cp.count() == 1 |
| 215 | |
| 216 | with pytest.raises(CommandError): |
| 217 | cp.load_file("/nonexistent") |
| 218 | assert cp.count() == 1 |
| 219 | |
| 220 | |
| 221 | def test_configure(tdata): |
nothing calls this directly
no test coverage detected
searching dependent graphs…