MCPcopy Create free account
hub / github.com/mitmproxy/mitmproxy / test_integration

Function test_integration

test/mitmproxy/tools/console/test_integration.py:1–7  ·  view source on GitHub ↗
(tdata, console)

Source from the content-addressed store, hash-verified

1def test_integration(tdata, console):
2 console.type(
3 f":view.flows.load {tdata.path('mitmproxy/data/dumpfile-7.mitm')}<enter>"
4 )
5 console.type("<enter><tab><tab>")
6 console.type("<space><tab><tab>") # view second flow
7 assert "http://example.com/" in console.screen_contents()
8
9
10def test_options_home_end(console):

Callers

nothing calls this directly

Calls 3

screen_contentsMethod · 0.80
typeMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…