Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mitmproxy/mitmproxy
/ test_remove
Function
test_remove
test/mitmproxy/addons/test_view.py:372–379 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
370
371
372
def
test_remove():
373
v = view.View()
374
with
taddons.context():
375
f = [tflow.tflow(), tflow.tflow()]
376
v.add(f)
377
assert len(v) == 2
378
v.remove(f)
379
assert len(v) == 0
380
381
382
def
test_setgetval():
Callers
nothing calls this directly
Calls
3
add
Method · 0.95
remove
Method · 0.95
context
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…