MCPcopy
hub / github.com/mitmproxy/mitmproxy / test_addons_dumper

Method test_addons_dumper

test/mitmproxy/tools/test_dump.py:16–20  ·  view source on GitHub ↗
(self, capsys, dumper)

Source from the content-addressed store, hash-verified

14
15 @pytest.mark.parametrize("dumper", [False, True])
16 async def test_addons_dumper(self, capsys, dumper):
17 o = options.Options()
18 m = dump.DumpMaster(o, with_dumper=dumper, with_termlog=False)
19 assert (m.addons.get("dumper") is not None) == dumper
20 await m.done()

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
doneMethod · 0.45

Tested by

no test coverage detected