diff --git a/tests/integration/test_version_sync.py b/tests/integration/test_version_sync.py new file mode 100644 index 00000000..b49d1fd5 --- /dev/null +++ b/tests/integration/test_version_sync.py @@ -0,0 +1,12 @@ +from __future__ import annotations + +import tomllib +from pathlib import Path + +from openamp_foundry import __version__ + + +def test_package_version_matches_pyproject(): + pyproject = tomllib.loads(Path("pyproject.toml").read_text(encoding="utf-8")) + + assert __version__ == pyproject["project"]["version"]