MCPcopy
hub / github.com/Textualize/textual / quit_after

Function quit_after

tests/test_auto_refresh.py:27–28  ·  view source on GitHub ↗
(pilot: Pilot)

Source from the content-addressed store, hash-verified

25 app = RefreshApp()
26
27 async def quit_after(pilot: Pilot) -> None:
28 await asyncio.sleep(1)
29
30 elapsed = app.run(auto_pilot=quit_after, headless=True)
31 assert elapsed is not None

Callers

nothing calls this directly

Calls 1

sleepMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…