Exemplo n.º 1
0
 def test_over(self):
     from brabbel.functions import _timedelta
     result = _timedelta('127:01:00')
     self.assertEqual(result, timedelta(hours=127, minutes=01, seconds=00))
Exemplo n.º 2
0
 def test_simple(self):
     from brabbel.functions import _timedelta
     result = _timedelta('13:37:42')
     self.assertEqual(result, timedelta(hours=13, minutes=37, seconds=42))