MCPcopy Create free account
hub / github.com/bugy/script-server / test_parse_wrong_time

Method test_parse_wrong_time

src/tests/date_utils_test.py:31–36  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

29 self.assertEqual(expected, parsed)
30
31 def test_parse_wrong_time(self):
32 self.assertRaisesRegex(
33 ValueError,
34 'does not match format',
35 date_utils.parse_iso_datetime,
36 '15:30:59 2020-07-10')
37
38
39class TestToIsoString(unittest.TestCase):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected