Files
textual/tests/test_demo.py
Will McGugan 22ff9337de lazy reveal
2024-11-11 15:30:14 +00:00

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)