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

Function test_progressbar_format_bar

tests/test_termui.py:152–156  ·  view source on GitHub ↗
(runner, length, finished, pos, avg, expected)

Source from the content-addressed store, hash-verified

150 ],
151)
152def test_progressbar_format_bar(runner, length, finished, pos, avg, expected):
153 with _create_progress(
154 length, width=8, pos=pos, finished=finished, avg=[avg]
155 ) as progress:
156 assert progress.format_bar() == expected
157
158
159@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 2

_create_progressFunction · 0.85
format_barMethod · 0.80

Tested by

no test coverage detected