cheroot.test.conftest module

Pytest configuration module.

Contains fixtures, which are tightly bound to the Cheroot framework itself, useless for end-users’ app testing.

cheroot.test.conftest.http_server()

Provision a server creator as a fixture.

cheroot.test.conftest.make_http_server(bind_addr)

Create and start an HTTP server bound to bind_addr.

cheroot.test.conftest.native_server_client(native_server)

Create a test client out of given HTTP server.

cheroot.test.conftest.wsgi_server_client(wsgi_server)

Create a test client out of given WSGI server.