This commit is contained in:
@@ -122,12 +122,13 @@ def test_run_at_tqdm_multiple_updates(monkeypatch, capsys):
|
||||
run_at(when, fexample)
|
||||
|
||||
captured = capsys.readouterr()
|
||||
captured_text = output.getvalue()
|
||||
|
||||
assert "0%| |" in captured.err
|
||||
assert "50%|█████ |" in captured.err
|
||||
assert "100%|██████████|" in captured.err
|
||||
|
||||
assert "Function done!" in captured
|
||||
assert "Function done!" in captured_text
|
||||
|
||||
|
||||
# Test today/yesterday and tomorrow functions
|
||||
|
||||
Reference in New Issue
Block a user