MCPcopy
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

runMethod · 0.50

Calls 2

get_portFunction · 0.85
captureFunction · 0.85

Tested by

no test coverage detected