test_k8_lanes.py python
23 lines 802 B
Raw
sha256:8d7f41aafae41deee70035a92f93602ef1722a290153597451e5932af503a42c docs: queue board-identity follow-ups so they survive the session Human 13 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:8d7f41aafae41deee70035a92f93602ef1722a290153597451e5932af503a42c docs: queue board-identity follow-ups so they survive the session Human 13 hours ago