aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-08-25 12:59:53 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2014-08-25 12:59:53 +0200
commit7adcbe759419320bf6224247640e2cc9f058fa8a (patch)
tree7ab9cf0b2076dcf1e15b4819e0e17f13e7a03cd0 /test
parent8d31fa3cce47a7c9d932b872e277cf89eb3441a2 (diff)
[rtlnl] Extract duration
Diffstat (limited to 'test')
-rw-r--r--test/test_utils.py1
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(