added demo to snapshots

This commit is contained in:
Will McGugan
2022-12-08 11:11:48 +00:00
parent bec01bba91
commit c405a3baea
3 changed files with 175 additions and 0 deletions

View File

@@ -156,3 +156,8 @@ def test_columns_height(snap_compare):
def test_key_display(snap_compare):
assert snap_compare(SNAPSHOT_APPS_DIR / "key_display.py")
def test_demo(snap_compare):
"""Test the demo app (python -m textual)"""
assert snap_compare(Path("../../src/textual/demo.py"))