diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2015-02-26 01:25:00 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2015-02-26 01:25:00 +0100 |
commit | 3e675fabe027ecf20e662454ff7a174596801256 (patch) | |
tree | 783b658762975a12b96f2a66fda05144bd975386 /test/test_utils.py | |
parent | cd5b4b0bc2876e16656d33156754ce3c05aa1619 (diff) |
[airmozilla] Be more tolerant when nonessential items are missing (#5030)
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 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( |