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

Function test_task_zero_total

tests/test_progress.py:439–441  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

437
438
439def test_task_zero_total() -> None:
440 task = Task(TaskID(1), "foo", 0, 0, _get_time=lambda: 1)
441 assert task.percentage == 0
442
443
444def test_progress_create() -> None:

Callers

nothing calls this directly

Calls 1

TaskClass · 0.90

Tested by

no test coverage detected