Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Make missing read-only guidance an explicit regression assertion

pulse-triage[bot]c795a3cdb7cd
diff --git a/scripts/tests/test_external_agent_docs.py b/scripts/tests/test_external_agent_docs.py
index 3563ecbcc4..5e95f83bb5 100644
--- a/scripts/tests/test_external_agent_docs.py
+++ b/scripts/tests/test_external_agent_docs.py
@@ -38,6 +38,8 @@ class ExternalAgentDocsTest(unittest.TestCase):
def test_read_only_setup_does_not_grant_whole_surface_authority(self):
text = compact(guide())
+ self.assertIn("Start read-only", text)
+ self.assertIn("## What the endpoints offer", text)
self.assertLess(text.index("Start read-only"), text.index("## What the endpoints offer"))
for boundary in ("not the minimum for a read-only client", "monitoring:read",
"client can list tools its token cannot call", "scope_only",