Match the Mail Gateway window check to the shared drawer

The PMG help says to compare the same time window in PMG, and its docs
check pinned the old drawer's `stats()?.timeframe` read. The Mail tab is
now headless mail-flow content inside the shared resource drawer and
names the window on its Mail flow card from the same field
(`stats?.timeframe`); the check now accepts either spelling, so the
help still has to describe a window the drawer actually shows.
This commit is contained in:
courtmanr@gmail.com
2026-10-22 17:00:53 +01:00
parent 4aa3d7aa5f
commit b08fbd8a24
+2 -1
View File
@@ -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)