MCPcopy Index your code
hub / github.com/mitmproxy/mitmproxy / test_cannot_convert

Function test_cannot_convert

test/mitmproxy/io/test_compat.py:27–31  ·  view source on GitHub ↗
(tdata)

Source from the content-addressed store, hash-verified

25
26
27def test_cannot_convert(tdata):
28 with open(tdata.path("mitmproxy/data/dumpfile-010.mitm"), "rb") as f:
29 flow_reader = io.FlowReader(f)
30 with pytest.raises(exceptions.FlowReadException):
31 list(flow_reader.stream())

Callers

nothing calls this directly

Calls 2

streamMethod · 0.95
pathMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…