Pārlūkot izejas kodu

trying to fix test

Rodja Trappe 2 gadi atpakaļ
vecāks
revīzija
f2db5630b8
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      tests/test_lifecycle.py

+ 2 - 0
tests/test_lifecycle.py

@@ -41,7 +41,9 @@ def test_connect_disconnect_is_called_for_each_client(screen: Screen):
     ui.on_disconnect(lambda c: events.append(f'disconnect {c.id}'))
 
     screen.open('/')
+    screen.wait(0.5)
     screen.open('/')
+    screen.wait(0.5)
     screen.open('/')
     screen.wait(0.5)
     assert len(events) == 5