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

Function test_time_elapsed_column

tests/test_progress.py:76–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

74
75
76def test_time_elapsed_column():
77 column = TimeElapsedColumn()
78 task = Task(1, "test", 100, 20, _get_time=lambda: 1.0)
79 text = column.render(task)
80 assert str(text) == "-:--:--"
81
82
83def test_time_remaining_column():

Callers

nothing calls this directly

Calls 3

renderMethod · 0.95
TimeElapsedColumnClass · 0.90
TaskClass · 0.90

Tested by

no test coverage detected