MCPcopy
hub / github.com/mitmproxy/mitmproxy / test_flows_dump

Method test_flows_dump

test/mitmproxy/tools/web/test_app.py:138–140  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

136 assert get_json(resp)[2]["error"]
137
138 def test_flows_dump(self):
139 resp = self.fetch("/flows/dump")
140 assert b"address" in resp.body
141
142 def test_flows_dump_filter(self):
143 resp = self.fetch("/flows/dump?filter=foo")

Callers

nothing calls this directly

Calls 1

fetchMethod · 0.95

Tested by

no test coverage detected