mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-25 13:10:03 +00:00
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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user