|
|
@ -324,6 +324,7 @@ class TestUtil(unittest.TestCase):
|
|
|
|
self.assertEqual(parse_duration('02:03:04'), 7384)
|
|
|
|
self.assertEqual(parse_duration('02:03:04'), 7384)
|
|
|
|
self.assertEqual(parse_duration('01:02:03:04'), 93784)
|
|
|
|
self.assertEqual(parse_duration('01:02:03:04'), 93784)
|
|
|
|
self.assertEqual(parse_duration('1 hour 3 minutes'), 3780)
|
|
|
|
self.assertEqual(parse_duration('1 hour 3 minutes'), 3780)
|
|
|
|
|
|
|
|
self.assertEqual(parse_duration('87 Min.'), 5220)
|
|
|
|
|
|
|
|
|
|
|
|
def test_fix_xml_ampersands(self):
|
|
|
|
def test_fix_xml_ampersands(self):
|
|
|
|
self.assertEqual(
|
|
|
|
self.assertEqual(
|
|
|
|