MCPcopy
hub / github.com/Textualize/rich / test_live_state

Function test_live_state

tests/test_live.py:24–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22
23
24def test_live_state() -> None:
25 with Live("") as live:
26 assert live._started
27 live.start()
28
29 assert live.get_renderable() == ""
30
31 assert live._started
32 live.stop()
33 assert not live._started
34
35 assert not live._started
36
37
38def test_growing_display() -> None:

Callers

nothing calls this directly

Calls 4

LiveClass · 0.90
startMethod · 0.45
get_renderableMethod · 0.45
stopMethod · 0.45

Tested by

no test coverage detected