Explorar o código

try to fix test

Rodja Trappe %!s(int64=2) %!d(string=hai) anos
pai
achega
93d8ba7c4b
Modificáronse 1 ficheiros con 1 adicións e 6 borrados
  1. 1 6
      tests/test_auto_context.py

+ 1 - 6
tests/test_auto_context.py

@@ -39,12 +39,7 @@ def test_adding_elements_with_async_await(screen: Screen):
 
     screen.open('/')
     for i in range(40):
-        if not '''
-card
-  A
-card
-  B
-''' in screen.render_content():
+        if not '''card\n  A\ncard\n  B''' in screen.render_content():
             screen.wait(0.1)
         else:
             raise AssertionError(f'{screen.render_content()} should show cards with "A" and "B"')