test(py-monitor): run test_iso_now_shape

This commit is contained in:
hoelee committed 2026-02-19 12:17:00 +08:00
1 parent 627d80d9a4
commit f9723e2d7e
1 file changed
+5
+5
View File
@@ -64,6 +64,11 @@ class KeywordTests(unittest.TestCase):
self.assertFalse(title_matches_keyword("x", []))
class TimeTests(unittest.TestCase):
def test_iso_now_shape(self):
self.assertRegex(iso_now(), r"^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$")
if __name__ == "__main__":
unittest.main()