MCPcopy
hub / github.com/mitmproxy/mitmproxy / test_remove

Function test_remove

test/mitmproxy/contentviews/test__compat.py:63–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61
62
63def test_remove():
64 # The remove function is deprecated and does nothing, but we should still test it
65 mock_view = MockView()
66 with pytest.deprecated_call():
67 _compat.remove(mock_view) # Should not raise any exceptions

Callers

nothing calls this directly

Calls 2

MockViewClass · 0.85
removeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…