mirror of
https://git.hiabuto.net/C3MA/CCMA.git
synced 2026-08-24 22:45:18 +02:00
test: derive expected version from VERSION file
This commit is contained in:
@@ -5,4 +5,4 @@ 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 == "0.0.1-dev1"
|
||||
assert __version__ == expected
|
||||
|
||||
Reference in New Issue
Block a user