threading test

This commit is contained in:
Will McGugan 2020-11-29 19:04:01 +00:00
parent 67599f772a
commit dea111b8b3

View file

@ -341,7 +341,7 @@ def test_refresh_thread() -> None:
thread = _RefreshThread(progress, 10)
assert thread.progress == progress
thread.start()
sleep(0.2)
sleep(0.5)
thread.stop()
assert progress.count >= 1