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.

Match the Mail Gateway window check to the shared drawer

[email protected]b08fbd8a241e
diff --git a/scripts/tests/test_pmg_docs.py b/scripts/tests/test_pmg_docs.py
index c88b477a2b..9439562036 100644
--- a/scripts/tests/test_pmg_docs.py
+++ b/scripts/tests/test_pmg_docs.py
@@ -70,7 +70,8 @@ class PMGDocsTest(unittest.TestCase):
drawer = frontend("features/proxmox/ProxmoxMailGatewayDrawer.tsx")
self.assertIn(".slice(0, 8)", drawer)
self.assertIn("top eight reported domains, not the entire domain inventory", self.guide)
- self.assertIn("stats()?.timeframe", drawer)
+ # The mail-flow card names the window its counts cover.
+ self.assertRegex(drawer, r"stats(?:\(\))?\??\.timeframe")
self.assertIn("compare the same window in PMG", self.guide)
self.assertIn("Expand the intended gateway's row", self.guide)