more pauses for demo?

This commit is contained in:
Will McGugan
2022-12-30 17:31:36 +00:00
parent d0529aebd8
commit 91e23ff34c
2 changed files with 2 additions and 3 deletions

View File

@@ -44,7 +44,6 @@ async def sleep(sleep_for: float) -> None:
Args:
sleep_for (float): Seconds to sleep for.
"""
print("sleep")
await get_running_loop().run_in_executor(None, time_sleep, sleep_for)
```

View File

@@ -179,6 +179,6 @@ def test_demo(snap_compare):
"""Test the demo app (python -m textual)"""
assert snap_compare(
Path("../../src/textual/demo.py"),
press=["down", "down", "down", "_"],
press=["down", "down", "down", "_", "_"],
terminal_size=(100, 30),
)