Match the proxy trust-boundary check to the integrated heading

Combined exact-source documentation validation passed 344 checks but this assertion errored before inspecting the accepted header-trust section: its delimiter retained a removed Unicode variation selector. Match the current heading while preserving every role, authenticator, replacement and reachability assertion. Documentation and runtime source are unchanged.

Change-source: pulse-maintainer
This commit is contained in:
pulse-triage[bot]
2026-10-09 14:21:39 +01:00
parent 9f643c0244
commit d64b3c5d85
@@ -215,7 +215,7 @@ class AuthenticationDiagnosticDocsTest(unittest.TestCase):
"existing administrator recovery path"):
with self.subTest(phrase=phrase):
self.assertIn(phrase, proxy if phrase == "actual group separator" else quick)
boundary = proxy.split("## ⚠️ Header Trust Boundary", 1)[1].split("## 📦 Examples", 1)[0]
boundary = proxy.split("## ⚠ Header Trust Boundary", 1)[1].split("## 📦 Examples", 1)[0]
for phrase in ("replace", "never append", "first", "username and configured role header",
"must also come from the successful authenticator", "not be reachable"):
self.assertIn(phrase, boundary)