()
| 349 | |
| 350 | |
| 351 | def test_progress_iter(): |
| 352 | with capture_output(display=False) as captured: |
| 353 | for i in display.ProgressBar(5): |
| 354 | out = captured.stdout |
| 355 | assert "{0}/5".format(i) in out |
| 356 | out = captured.stdout |
| 357 | assert "5/5" in out |
| 358 | |
| 359 | |
| 360 | def test_json(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…