MCPcopy
hub / github.com/pallets/click / test_progressbar_eta

Function test_progressbar_eta

tests/test_termui.py:116–118  ·  view source on GitHub ↗
(runner, finished, expected)

Source from the content-addressed store, hash-verified

114
115@pytest.mark.parametrize("finished, expected", [(False, 5), (True, 0)])
116def test_progressbar_eta(runner, finished, expected):
117 with _create_progress(2, finished=finished, avg=[1, 4]) as progress:
118 assert progress.eta == expected
119
120
121@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

_create_progressFunction · 0.85

Tested by

no test coverage detected