test(py-monitor): run test_iso_now_shape
This commit is contained in:
1 parent
627d80d9a4
commit
f9723e2d7e
1 file changed
+5
@@ -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()
|
||||
Reference in new issue
Block a user