teilchensammler-cli/tests.py
bronsen ebb94963fc test(ui): Add snapshot test for our first very simple Screen
These snapshots will need to be refreshed when we made changes and are
happy with the changed or new layout.

uv run pytest --snapshot-update tests.py
2025-12-04 20:17:56 +01:00

2 lines
198 B
Python

def test_initial_layout(snap_compare): # pyright: ignore[reportMissingParameterType, reportUnknownParameterType]
assert snap_compare("src/teilchensammler_cli/main.py", terminal_size=(130, 40))