From 03d6025bcb607b6dfd2ac2fa24319e80e30d0b5e Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Sat, 26 Sep 2020 16:01:04 +0100 Subject: [PATCH] thread test --- tests/test_progress.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_progress.py b/tests/test_progress.py index f79b4cd9..34a8e8c1 100644 --- a/tests/test_progress.py +++ b/tests/test_progress.py @@ -309,8 +309,8 @@ def test_track_thread() -> None: with track_thread: track_thread.completed = 1 - sleep(0.2) - assert progress.tasks[task_id].completed == 1 + sleep(0.3) + assert progress.tasks[task_id].completed >= 1 track_thread.completed += 1