Skip to content

Commit ae1cd23

Browse files
committed
fix: update test fixtures to write STANDARDS_VERSION instead of VERSION
Signed-off-by: fOuttaMyPaint <154358121+TMHSDigital@users.noreply.github.com>
1 parent 7113076 commit ae1cd23

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

tests/test_cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99

1010
@pytest.fixture
1111
def meta_repo(tmp_path: Path) -> Path:
12-
"""Isolated meta-repo for CLI tests. Pins meta VERSION to 1.6.3 so that
12+
"""Isolated meta-repo for CLI tests. Pins STANDARDS_VERSION to 1.6.3 so that
1313
the on-disk fixtures (which still carry 1.6.3 signals) read as clean."""
1414
root = tmp_path / "meta"
1515
root.mkdir()
16-
(root / "VERSION").write_text("1.6.3", encoding="utf-8")
16+
(root / "STANDARDS_VERSION").write_text("1.6.3", encoding="utf-8")
1717
(root / "standards").mkdir()
1818
(root / "standards" / "required-refs.json").write_text(
1919
'{"version": 1, "requirements": {"cursor-plugin": {}, "mcp-server": {}}}',

tests/test_cli_remote_flags.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
def meta_repo(tmp_path: Path) -> Path:
1717
root = tmp_path / "meta"
1818
root.mkdir()
19-
(root / "VERSION").write_text("1.6.3", encoding="utf-8")
19+
(root / "STANDARDS_VERSION").write_text("1.6.3", encoding="utf-8")
2020
(root / "standards").mkdir()
2121
(root / "standards" / "required-refs.json").write_text(
2222
'{"version": 1, "requirements": {"cursor-plugin": {}, "mcp-server": {}}}',
@@ -48,7 +48,7 @@ def test_remote_without_token_errors(capsys, meta_repo: Path, monkeypatch):
4848
def test_all_without_registry_errors(capsys, tmp_path: Path):
4949
bare = tmp_path / "bare-meta"
5050
bare.mkdir()
51-
(bare / "VERSION").write_text("1.6.3", encoding="utf-8")
51+
(bare / "STANDARDS_VERSION").write_text("1.6.3", encoding="utf-8")
5252
rc = cli.main([
5353
"--all",
5454
"--meta-repo", str(bare),

0 commit comments

Comments
 (0)