test_k8_lanes.py python
23 lines 802 B
Raw
sha256:c079680aa72b38cf20f7891daeadbb28f6ec71301dff7c1973565401e6f23a34 docs: align public documentation and website with bounded v1 Human minor ⚠ breaking 8 days ago
1 """Unit tests for K8 multi-lane living docs."""
2
3 from __future__ import annotations
4
5 from pathlib import Path
6
7 from adapters.config import resolve_lane_docs
8 from cli.docs_paths import living_doc_destinations
9 from tests.support import load_fixture_config
10
11
12 def test_living_doc_destinations_includes_all_lanes(repo_root: Path) -> None:
13 cfg = load_fixture_config(repo_root, "config-two-lane.yaml")
14 dests = living_doc_destinations(cfg)
15 assert "QUEUE_HANDOVER.md" in dests
16 assert "videos/_active/HANDOVER.md" in dests
17 assert "videos/_active/ROADMAP.md" in dests
18
19
20 def test_resolve_lane_active(repo_root: Path) -> None:
21 cfg = load_fixture_config(repo_root, "config-two-lane.yaml")
22 active = resolve_lane_docs(cfg, "active")
23 assert active.roadmap == "videos/_active/ROADMAP.md"
File History 1 commit
sha256:c079680aa72b38cf20f7891daeadbb28f6ec71301dff7c1973565401e6f23a34 docs: align public documentation and website with bounded v1 Human minor ⚠ 8 days ago