whitehat-security/tests/test_layer_declaration.py

13 lines
477 B
Python
Raw Permalink Normal View History

from pathlib import Path
def test_intent_declares_staff_in_own_voice():
text = Path("INTENT.md").read_text(encoding="utf-8")
assert text.startswith("---\n")
frontmatter = text.split("---\n", 2)[1]
assert "layer: Staff" in frontmatter
assert 'standard_version: "0.7"' in frontmatter
assert "conformance_state: blocked-clean" in frontmatter
assert "gate-house insert that used to sit here is" in text
assert "does not author our probes" in text