* Version bump

* upate version

* fix domain name

* wrong project

* skip on Windows

* disable demo snapshot

* 37 fix
This commit is contained in:
Will McGugan
2023-04-27 15:01:46 +01:00
committed by GitHub
parent dd70a7a2dc
commit 124c45e68c
5 changed files with 152 additions and 145 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,5 @@
from pathlib import Path
import sys
import pytest
@@ -319,11 +320,19 @@ def test_demo(snap_compare):
"""Test the demo app (python -m textual)"""
assert snap_compare(
Path("../../src/textual/demo.py"),
press=["down", "down", "down", "wait:500"],
terminal_size=(100, 30),
)
# def test_demo_with_keys(snap_compare):
# """Test the demo app (python -m textual)"""
# assert snap_compare(
# Path("../../src/textual/demo.py"),
# press=["down", "down", "down", "wait:500"],
# terminal_size=(100, 30),
# )
def test_label_widths(snap_compare):
"""Test renderable widths are calculate correctly."""
assert snap_compare(SNAPSHOT_APPS_DIR / "label_widths.py")