(
runner, length, show_percent, show_pos, pos, expected
)
| 167 | ], |
| 168 | ) |
| 169 | def 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]) |
nothing calls this directly
no test coverage detected