MCPcopy
hub / github.com/mitmproxy/mitmproxy / rd

Function rd

test/mitmproxy/addons/test_save.py:26–29  ·  view source on GitHub ↗
(p)

Source from the content-addressed store, hash-verified

24
25
26def rd(p):
27 with open(p, "rb") as f:
28 x = io.FlowReader(f)
29 return list(x.stream())
30
31
32def test_tcp(tmp_path):

Callers 7

test_tcpFunction · 0.70
test_udpFunction · 0.70
test_dnsFunction · 0.70
test_websocketFunction · 0.70
test_save_commandFunction · 0.70
test_simpleFunction · 0.70
test_rotate_streamFunction · 0.70

Calls 1

streamMethod · 0.95

Tested by

no test coverage detected