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

Class DummyConsole

test/mitmproxy/test_command.py:600–608  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

598
599
600class DummyConsole:
601 @command.command("view.flows.resolve")
602 def resolve(self, spec: str) -> Sequence[flow.Flow]:
603 n = int(spec)
604 return [tflow.tflow(resp=True)] * n
605
606 @command.command("cut")
607 def cut(self, spec: str) -> mitmproxy.types.Data:
608 return [["test"]]
609
610
611def test_parsearg():

Callers 1

test_parseargFunction · 0.70

Calls

no outgoing calls

Tested by 1

test_parseargFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…