| 598 | |
| 599 | |
| 600 | class 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 | |
| 611 | def test_parsearg(): |
no outgoing calls
searching dependent graphs…