MCPcopy
hub / github.com/sanic-org/sanic / test_tls_options

Function test_tls_options

tests/test_cli.py:118–127  ·  view source on GitHub ↗
(cmd: tuple[str, ...], caplog, port)

Source from the content-addressed store, hash-verified

116 ),
117)
118def test_tls_options(cmd: tuple[str, ...], caplog, port):
119 command = [
120 "fake.server.app",
121 *cmd,
122 f"--port={port}",
123 "--debug",
124 "--single-process",
125 ]
126 lines = capture(command, caplog)
127 assert f"Goin' Fast @ https://127.0.0.1:{port}" in lines
128
129
130@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

captureFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…