mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
more pauses for demo?
This commit is contained in:
@@ -44,7 +44,6 @@ async def sleep(sleep_for: float) -> None:
|
|||||||
Args:
|
Args:
|
||||||
sleep_for (float): Seconds to sleep for.
|
sleep_for (float): Seconds to sleep for.
|
||||||
"""
|
"""
|
||||||
print("sleep")
|
|
||||||
await get_running_loop().run_in_executor(None, time_sleep, sleep_for)
|
await get_running_loop().run_in_executor(None, time_sleep, sleep_for)
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -179,6 +179,6 @@ def test_demo(snap_compare):
|
|||||||
"""Test the demo app (python -m textual)"""
|
"""Test the demo app (python -m textual)"""
|
||||||
assert snap_compare(
|
assert snap_compare(
|
||||||
Path("../../src/textual/demo.py"),
|
Path("../../src/textual/demo.py"),
|
||||||
press=["down", "down", "down", "_"],
|
press=["down", "down", "down", "_", "_"],
|
||||||
terminal_size=(100, 30),
|
terminal_size=(100, 30),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user