]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - test/test_utils.py
Update upstream source from tag 'upstream/2017.11.06'
[youtubedl] / test / test_utils.py
index efa73d0f45e17b76647a8e7895a5bd3c62f404b3..cc13f795c338d816b442d9d338262eb9323f4f64 100644 (file)
@@ -540,6 +540,7 @@ class TestUtil(unittest.TestCase):
         self.assertEqual(parse_duration('87 Min.'), 5220)
         self.assertEqual(parse_duration('PT1H0.040S'), 3600.04)
         self.assertEqual(parse_duration('PT00H03M30SZ'), 210)
         self.assertEqual(parse_duration('87 Min.'), 5220)
         self.assertEqual(parse_duration('PT1H0.040S'), 3600.04)
         self.assertEqual(parse_duration('PT00H03M30SZ'), 210)
+        self.assertEqual(parse_duration('P0Y0M0DT0H4M20.880S'), 260.88)
 
     def test_fix_xml_ampersands(self):
         self.assertEqual(
 
     def test_fix_xml_ampersands(self):
         self.assertEqual(