test_k8_lanes.py file-level

at main · View file ↗ · Intel ↗

History
1 files
1 commits
0 hotspots
0 🧊 dead
0 💥 blast risk
sha256:8 docs: queue board-identity follow-ups so they survive the session Capt… · aaronrene · Sep 5, 2026
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"