diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-10-29 20:10:00 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-10-29 20:10:00 +0100 |
commit | 6ad4013d40e839211e2896129eed05ccd40ee963 (patch) | |
tree | 3bf436a08494256f60ad6069635d6641b356612b /test | |
parent | 50c8266ef0b2b6d011257a909f47fd623dda8eb2 (diff) |
[drtv] Allow fractional timestamps (Fixes #4059)
Diffstat (limited to 'test')
-rw-r--r-- | test/test_utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_utils.py b/test/test_utils.py index 19f9fce20..1c2b57609 100644 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -289,6 +289,7 @@ class TestUtil(unittest.TestCase): self.assertEqual(parse_iso8601('2014-03-23T23:04:26+0100'), 1395612266) self.assertEqual(parse_iso8601('2014-03-23T22:04:26+0000'), 1395612266) self.assertEqual(parse_iso8601('2014-03-23T22:04:26Z'), 1395612266) + self.assertEqual(parse_iso8601('2014-03-23T22:04:26.1234Z'), 1395612266) def test_strip_jsonp(self): stripped = strip_jsonp('cb ([ {"id":"532cb",\n\n\n"x":\n3}\n]\n);') |