Tests that calling restart outputs a line indicating such.
(caplog)
| 64 | |
| 65 | |
| 66 | def test_restart(caplog): |
| 67 | """ |
| 68 | Tests that calling restart outputs a line indicating such. |
| 69 | """ |
| 70 | printer = ProgressPrinter(should_print=True, display_interval=1.0) |
| 71 | printer.restart() |
| 72 | |
| 73 | out = caplog.text |
| 74 | assert_("R" in out) |
| 75 | assert_("restart" in out) |
| 76 | |
| 77 | |
| 78 | def test_iteration(ok_small, caplog): |
nothing calls this directly
no test coverage detected