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

Function test_progressbar_format_progress_line

tests/test_termui.py:169–179  ·  view source on GitHub ↗
(
    runner, length, show_percent, show_pos, pos, expected
)

Source from the content-addressed store, hash-verified

167 ],
168)
169def test_progressbar_format_progress_line(
170 runner, length, show_percent, show_pos, pos, expected
171):
172 with _create_progress(
173 length,
174 width=8,
175 show_percent=show_percent,
176 pos=pos,
177 show_pos=show_pos,
178 ) as progress:
179 assert progress.format_progress_line() == expected
180
181
182@pytest.mark.parametrize("test_item", ["test", None])

Callers

nothing calls this directly

Calls 2

_create_progressFunction · 0.85
format_progress_lineMethod · 0.80

Tested by

no test coverage detected