mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
11 lines
317 B
Python
11 lines
317 B
Python
from textual.demo.demo_app import DemoApp
|
|
|
|
|
|
async def test_demo():
|
|
"""Test the demo runs."""
|
|
# Test he demo can at least run.
|
|
# This exists mainly to catch screw-ups that might effect only certain Python versions.
|
|
app = DemoApp()
|
|
async with app.run_test() as pilot:
|
|
await pilot.pause(0.1)
|