MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / test_runtime_version_matches_pyproject

Function test_runtime_version_matches_pyproject

tests/test_version.py:10–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8
9
10def test_runtime_version_matches_pyproject() -> None:
11 with (Path(__file__).resolve().parents[1] / "pyproject.toml").open("rb") as file:
12 pyproject = tomllib.load(file)
13
14 assert VERSION == pyproject["project"]["version"]
15 assert get_version() == VERSION
16
17
18def test_version_surfaces_use_same_source() -> None:

Callers

nothing calls this directly

Calls 3

get_versionFunction · 0.90
resolveMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected