diff options
author | Philipp Hagemeister <[email protected]> | 2014-08-25 12:59:53 +0200 |
---|---|---|
committer | Philipp Hagemeister <[email protected]> | 2014-08-25 12:59:53 +0200 |
commit | 7adcbe759419320bf6224247640e2cc9f058fa8a (patch) | |
tree | 7ab9cf0b2076dcf1e15b4819e0e17f13e7a03cd0 /test/test_utils.py | |
parent | 8d31fa3cce47a7c9d932b872e277cf89eb3441a2 (diff) | |
download | youtube-dl-7adcbe759419320bf6224247640e2cc9f058fa8a.tar.gz youtube-dl-7adcbe759419320bf6224247640e2cc9f058fa8a.zip |
[rtlnl] Extract duration
Diffstat (limited to 'test/test_utils.py')
-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 e26cc5b0c..0953db371 100644 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -219,6 +219,7 @@ class TestUtil(unittest.TestCase): self.assertEqual(parse_duration('0h0m0s'), 0) self.assertEqual(parse_duration('0m0s'), 0) self.assertEqual(parse_duration('0s'), 0) + self.assertEqual(parse_duration('01:02:03.05'), 3723.05) def test_fix_xml_ampersands(self): self.assertEqual( |