Tests that "depots" is plural when there are multiple depots.
(ok_small_multi_depot, caplog)
| 34 | |
| 35 | |
| 36 | def test_start_multiple_depot_plural(ok_small_multi_depot, caplog): |
| 37 | """ |
| 38 | Tests that "depots" is plural when there are multiple depots. |
| 39 | """ |
| 40 | printer = ProgressPrinter(should_print=True, display_interval=1.0) |
| 41 | printer.start(ok_small_multi_depot) |
| 42 | |
| 43 | assert_(f"{ok_small_multi_depot.num_depots} depots" in caplog.text) |
| 44 | |
| 45 | |
| 46 | def test_end(ok_small, caplog): |
nothing calls this directly
no test coverage detected