cheroot.test.test_wsgi module

Test wsgi.

cheroot.test.test_wsgi.simple_wsgi_server()

Fucking simple wsgi server fixture (duh).

cheroot.test.test_wsgi.test_connection_keepalive(simple_wsgi_server)

Test the connection keepalive works (duh).

cheroot.test.test_wsgi.test_gateway_start_response_called_twice(monkeypatch)

Verify that repeat calls of Gateway.start_response() fail.

cheroot.test.test_wsgi.test_gateway_write_needs_start_response_called_before(monkeypatch)

Check that calling Gateway.write() needs started response.