Merge pull request #118 from abhi1693/test/core-version-constants

test(backend): add unit tests for core/version.py
This commit is contained in:
Abhimanyu Saharan
2026-02-13 00:54:54 +05:30
committed by GitHub

View File

@@ -0,0 +1,11 @@
from app.core.version import APP_NAME, APP_VERSION
def test_app_name_constant() -> None:
assert APP_NAME == "mission-control"
def test_app_version_semver_format() -> None:
parts = APP_VERSION.split(".")
assert len(parts) == 3
assert all(part.isdigit() for part in parts)