test_k8_lanes.py python
23 lines 802 B
Raw
sha256:c07f2f34a0db9f43fe866f157d1935322008545ff8940c06c7c921eb219c55ab NXP-b DONE: independent BV-r2 pass + ISR (SD-17) Human minor ⚠ breaking 23 hours 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:c07f2f34a0db9f43fe866f157d1935322008545ff8940c06c7c921eb219c55ab NXP-b DONE: independent BV-r2 pass + ISR (SD-17) Human minor 23 hours ago