MCPcopy
hub / github.com/mitmproxy/mitmproxy / test_simple

Function test_simple

test/mitmproxy/contentviews/test__api.py:41–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39
40
41def test_simple():
42 view = ExampleContentview()
43 assert view.name == "Example"
44 assert view.render_priority(b"test", Metadata()) == 0
45 assert view.syntax_highlight == "none"
46 assert not (view < view)
47
48
49def test_default_impls():

Callers

nothing calls this directly

Calls 3

MetadataClass · 0.90
ExampleContentviewClass · 0.85
render_priorityMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…