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

Function test_make_rows

test/mitmproxy/tools/console/test_quickhelp.py:58–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56
57
58def test_make_rows():
59 keymap = Keymap(None)
60 defaultkeys.map(keymap)
61
62 # make sure that we don't crash if a default binding is missing.
63 keymap.unbind(keymap.binding_for_help("View event log"))
64
65 qh = quickhelp.make(HelpView, None, True)
66 assert qh.make_rows(keymap)

Callers

nothing calls this directly

Calls 6

unbindMethod · 0.95
binding_for_helpMethod · 0.95
KeymapClass · 0.90
make_rowsMethod · 0.80
mapMethod · 0.45
makeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…