(runner, finished, expected)
| 114 | |
| 115 | @pytest.mark.parametrize("finished, expected", [(False, 5), (True, 0)]) |
| 116 | def test_progressbar_eta(runner, finished, expected): |
| 117 | with _create_progress(2, finished=finished, avg=[1, 4]) as progress: |
| 118 | assert progress.eta == expected |
| 119 | |
| 120 | |
| 121 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected