from pathlib import Path

from ccma import __version__


def test_ui_version_matches_version_file() -> None:
    expected = (Path(__file__).resolve().parents[1] / "VERSION").read_text(encoding="utf-8").strip()
    assert __version__ == expected
