cheroot.test.test_cli module

Tests to verify the command line interface.

cheroot.test.test_cli.test_Aplication_resolve(app_name, app_method, wsgi_app)

Check the wsgi application name conversion.

cheroot.test.test_cli.test_parse_wsgi_bind_addr(raw_bind_addr, expected_bind_addr)

Check the parsing of the –bind option.

Verify some of the supported addresses and the expected return value.

cheroot.test.test_cli.wsgi_app(monkeypatch)

Return a WSGI app stub.