mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Extra long pause test
This code is running just finally locally in tests, but is failing with: RuntimeError: Task <Task pending name='Task-279' coro=<MessagePump._process_messages() running at /home/runner/work/textual/textual/src/textual/message_pump.py:314>> got Future <Future pending> attached to a different loop in GitHub Actions. Pretty sure I saw this before, which made me add the pause in the first place. Given this seems to just be affecting the last test, from what I can tell, let's make the pause longer to see if that helps. I hate chasing action issues...
This commit is contained in:
@@ -598,7 +598,7 @@ async def test_overlapping_priority_bindings() -> None:
|
|||||||
"""Test an app stack with overlapping bindings."""
|
"""Test an app stack with overlapping bindings."""
|
||||||
async with PriorityOverlapApp().run_test() as pilot:
|
async with PriorityOverlapApp().run_test() as pilot:
|
||||||
await pilot.press(*"0abcdef")
|
await pilot.press(*"0abcdef")
|
||||||
await pilot.pause(2 / 100)
|
await pilot.pause(5 / 100)
|
||||||
assert pilot.app.pressed_keys == [
|
assert pilot.app.pressed_keys == [
|
||||||
"widget_0",
|
"widget_0",
|
||||||
"app_a",
|
"app_a",
|
||||||
|
|||||||
Reference in New Issue
Block a user