From 3e675fabe027ecf20e662454ff7a174596801256 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Thu, 26 Feb 2015 01:25:00 +0100 Subject: [airmozilla] Be more tolerant when nonessential items are missing (#5030) --- test/test_utils.py | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/test_utils.py b/test/test_utils.py index 2f8996d7b..3fba8ae11 100644 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -246,6 +246,7 @@ class TestUtil(unittest.TestCase): self.assertEqual(parse_duration('2.5 hours'), 9000) self.assertEqual(parse_duration('02:03:04'), 7384) self.assertEqual(parse_duration('01:02:03:04'), 93784) + self.assertEqual(parse_duration('1 hour 3 minutes'), 3780) def test_fix_xml_ampersands(self): self.assertEqual( -- cgit v1.2.3