Buckets:

download
raw
1.03 kB
import importlib
import re
from pathlib import Path
import pytest
REPO_ROOT = Path(__file__).parent.parent # adjust if needed
@pytest.mark.skip(reason="historical P20 rc2 version gate superseded by test_release_metadata.py")
def test_version_is_rc2():
mcp = importlib.import_module("mcp_server")
importlib.reload(mcp)
assert mcp.__version__ == "1.2.0-rc2"
def test_changelog_has_rc2_section():
text = (REPO_ROOT / "CHANGELOG.md").read_text()
assert re.search(r"^## \[1\.2\.0-rc2\] — \d{4}-\d{2}-\d{2}", text, re.M)
# Must mention all four P20 lanes:
for label in ("P20 SL-0", "P20 SL-1", "P20 SL-2", "P20 SL-3"):
assert label in text, f"CHANGELOG missing {label}"
def test_p20_artifacts_exist():
for path in (
"tests/integration/multi_repo/conftest.py",
"tests/integration/obs/test_obs_smoke.py",
"docs/operations/deployment-runbook.md",
"tests/test_deployment_runbook_shape.py",
):
assert (REPO_ROOT / path).exists(), f"missing: {path}"

Xet Storage Details

Size:
1.03 kB
·
Xet hash:
43132deddd3bcdb6584961191da23f45d8e47fd8272a0d4fc0f01626b5b66abb

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.