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

Method test_repr

test/mitmproxy/test_http.py:100–104  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

98 """
99
100 def test_repr(self):
101 request = treq()
102 assert repr(request) == "Request(GET address:22/path)"
103 request.host = None
104 assert repr(request) == "Request(GET /path)"
105
106 def test_init_conv(self):
107 assert Request(

Callers

nothing calls this directly

Calls 1

treqFunction · 0.90

Tested by

no test coverage detected