Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tests/test_architecture_baseline_contract.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Require the living architecture baseline document at repository root."""

import re
from pathlib import Path


Expand Down Expand Up @@ -31,4 +32,4 @@ def test_architecture_doctoring_note_exists() -> None:
assert "Fox" in note
assert "Jeon" in note
assert "Kang" in note
assert "https://doi.org/" in note
assert re.search(r"(?<!\S)https://doi\.org/10\.\d{4,9}/\S+", note)
3 changes: 2 additions & 1 deletion tests/test_governance_index_contract.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Require the living governance index and its doctoring note."""

import re
from pathlib import Path

_ROOT = Path(__file__).resolve().parents[1]
Expand Down Expand Up @@ -29,4 +30,4 @@ def test_governance_doctoring_cites_multilevel_literature() -> None:
"""Doctoring note must cite multilevel / LSIRM literature."""
note = _DOC.read_text(encoding="utf-8")
assert "Fox" in note and "Jeon" in note and "Kang" in note
assert "https://doi.org/" in note
assert re.search(r"(?<!\S)https://doi\.org/10\.\d{4,9}/\S+", note)
Loading