(runner, length, finished, pos, avg, expected)
| 150 | ], |
| 151 | ) |
| 152 | def 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( |
nothing calls this directly
no test coverage detected