(runner)
| 341 | |
| 342 | |
| 343 | def test_progress_bar_update_min_steps(runner): |
| 344 | bar = _create_progress(update_min_steps=5) |
| 345 | bar.update(3) |
| 346 | assert bar._completed_intervals == 3 |
| 347 | assert bar.pos == 0 |
| 348 | bar.update(2) |
| 349 | assert bar._completed_intervals == 0 |
| 350 | assert bar.pos == 5 |
| 351 | |
| 352 | |
| 353 | @pytest.mark.parametrize("key_char", ("h", "H", "é", "À", " ", "字", "àH", "àR")) |
nothing calls this directly
no test coverage detected