MCPcopy
hub / github.com/mitmproxy/mitmproxy / test_properties

Function test_properties

test/mitmproxy/addons/test_view.py:659–667  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

657
658
659def test_properties():
660 v = view.View()
661 f = tft()
662 v.requestheaders(f)
663 assert v.get_length() == 1
664 assert not v.get_marked()
665 v.toggle_marked()
666 assert v.get_length() == 0
667 assert v.get_marked()
668
669
670def test_configure():

Callers

nothing calls this directly

Calls 5

requestheadersMethod · 0.95
get_lengthMethod · 0.95
get_markedMethod · 0.95
toggle_markedMethod · 0.95
tftFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…