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

Function test_render_priority

test/mitmproxy/contentviews/test__view_dns.py:71–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69
70
71def test_render_priority():
72 assert dns.render_priority(b"", Metadata(content_type="application/dns-message"))
73 assert not dns.render_priority(b"", Metadata(content_type="text/plain"))
74 assert not dns.render_priority(b"", Metadata())

Callers

nothing calls this directly

Calls 2

MetadataClass · 0.90
render_priorityMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…