Skip to content

Commit d9f2848

Browse files
Align legacy version test with native 0.20 release
1 parent c9ccddb commit d9f2848

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎tests/test_flagship_018.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929

3030
ROOT = Path(__file__).resolve().parents[1]
3131
CANONICAL = "0.19.0"
32+
NATIVE_CANONICAL = "0.20.0"
3233

3334

3435
@pytest.fixture
@@ -45,7 +46,9 @@ def test_version_is_canonical_everywhere() -> None:
4546
pyproject = (ROOT / "pyproject.toml").read_text(encoding="utf-8")
4647
assert re.search(rf'^version = "{re.escape(CANONICAL)}"$', pyproject, re.M)
4748
readme = (ROOT / "README.md").read_text(encoding="utf-8")
48-
assert CANONICAL in readme
49+
# The legacy Python package remains 0.19 while the public README documents
50+
# the standalone native application shipped as 0.20.
51+
assert NATIVE_CANONICAL in readme
4952
desktop = (ROOT / "packaging" / "shadow-agent.desktop").read_text(encoding="utf-8")
5053
assert f"X-ShadowCode-Version={CANONICAL}" in desktop
5154
assert "Icon=shadow-agent" in desktop and "Name=ShadowCode" in desktop

0 commit comments

Comments
 (0)