test(docs): klassifiser den nye kontraktfila som LIVE, ikke arkiv
Doc-gaten er fail-closed paa dekning: et nytt dokument som verken staar i
_LIVE_DOCS eller har en datert sti er UKLASSIFISERT, og et uklassifisert
dokument er uvoktet uten at noe sier fra. docs/okf-konsum-kontrakter.md er
kanonisk og skal holdes aa jour - altsaa LIVE, ikke et punkt-i-tid-notat.
Gaten gjorde jobben sin mot f6b1b77; dette er svaret, ikke en omgaaelse.
Formaterer samtidig Steg 1s testfil (ruff format).
Co-Authored-By: Claude <claude-opus-5>
This commit is contained in:
parent
5c59921a26
commit
809fa04406
2 changed files with 4 additions and 1 deletions
|
|
@ -53,6 +53,7 @@ _LIVE_DOCS = (
|
||||||
"docs/bestille-en-kjoring.md",
|
"docs/bestille-en-kjoring.md",
|
||||||
"docs/knowledge-base-recipe.md",
|
"docs/knowledge-base-recipe.md",
|
||||||
"docs/kunnskapsbase-for-en-kjoring.md",
|
"docs/kunnskapsbase-for-en-kjoring.md",
|
||||||
|
"docs/okf-konsum-kontrakter.md",
|
||||||
)
|
)
|
||||||
|
|
||||||
# A dated path segment marks a point-in-time record. ``docs/fase1-spikes/`` is the one archive whose
|
# A dated path segment marks a point-in-time record. ``docs/fase1-spikes/`` is the one archive whose
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,9 @@ def test_block_form_bundle_renders_the_captured_bytes() -> None:
|
||||||
bundle_dir, expected = _block_form_golden()
|
bundle_dir, expected = _block_form_golden()
|
||||||
bundle = okf.navigate_bundle(bundle_dir)
|
bundle = okf.navigate_bundle(bundle_dir)
|
||||||
|
|
||||||
assert bundle.skipped == (), f"navigation skipped a link it should have followed: {bundle.skipped}"
|
assert bundle.skipped == (), (
|
||||||
|
f"navigation skipped a link it should have followed: {bundle.skipped}"
|
||||||
|
)
|
||||||
assert [f.name for f in bundle.files] == ["index.md", "attested.md", "multi-verified.md"]
|
assert [f.name for f in bundle.files] == ["index.md", "attested.md", "multi-verified.md"]
|
||||||
|
|
||||||
assert okf.bundle_context(bundle) == expected
|
assert okf.bundle_context(bundle) == expected
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue