Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sanic-org/sanic
/ run
Function
run
tests/test_cli.py:360–362 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
358
)
359
360
def
run():
361
command = [
"fake.server.app"
,
"--repl"
, f
"-p={get_port()}"
]
362
return
capture(command, capsys=capsys)
363
364
with
patch(
"sanic.cli.app.is_atty"
, return_value=True):
365
result = run()
Callers
2
test_server_run_with_repl
Function · 0.70
run
Method · 0.50
Calls
2
get_port
Function · 0.85
capture
Function · 0.85
Tested by
no test coverage detected