MCPcopy
hub / github.com/encode/httpx / test_wsgi_generator_empty

Function test_wsgi_generator_empty

tests/test_wsgi.py:141–147  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

139
140
141def test_wsgi_generator_empty():
142 output = [b"", b"", b"", b""]
143 transport = httpx.WSGITransport(app=application_factory(output))
144 client = httpx.Client(transport=transport)
145 response = client.get("http://www.example.org/")
146 assert response.status_code == 200
147 assert response.text == ""
148
149
150def test_logging():

Callers

nothing calls this directly

Calls 2

getMethod · 0.95
application_factoryFunction · 0.85

Tested by

no test coverage detected