aboutsummaryrefslogtreecommitdiff
path: root/test/test_utils.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-01-26 23:23:08 +0700
committerSergey M․ <dstftw@gmail.com>2017-01-26 23:23:08 +0700
commit15846398ca0af9154b88a69f594557568c6a4782 (patch)
tree21c8013fa156a013083d5774b0e342080c9acde4 /test/test_utils.py
parentc19ef77c3138ecf1ce5c988de2d94031f58b4f69 (diff)
[utils] Improve parse_duration
Diffstat (limited to 'test/test_utils.py')
-rw-r--r--test/test_utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_utils.py b/test/test_utils.py
index e99bf794e..a74d59f34 100644
--- a/test/test_utils.py
+++ b/test/test_utils.py
@@ -510,6 +510,7 @@ class TestUtil(unittest.TestCase):
self.assertEqual(parse_duration('1 hour 3 minutes'), 3780)
self.assertEqual(parse_duration('87 Min.'), 5220)
self.assertEqual(parse_duration('PT1H0.040S'), 3600.04)
+ self.assertEqual(parse_duration('PT00H03M30SZ'), 210)
def test_fix_xml_ampersands(self):
self.assertEqual(