소스 검색

try to fix flaky test with a bit more delay

Falko Schindler 2 년 전
부모
커밋
0875c86b43
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tests/test_timer.py

+ 1 - 1
tests/test_timer.py

@@ -55,7 +55,7 @@ def test_timer_with_update_after_await(screen: Screen):
             await asyncio.sleep(1.0)
             ui.label('2')
 
-        ui.timer(1.0, update, once=True)
+        ui.timer(2.0, update, once=True)
 
     screen.open('/')
     screen.should_not_contain('1')