def assertMillis(self, expected_millis, **timedelta_constructor_args):
     self.assertEquals(expected_millis, timedelta_in_millis(
         datetime.timedelta(**timedelta_constructor_args)))
Esempio n. 2
0
 def assertMillis(self, expected_millis, **timedelta_constructor_args):
     self.assertEquals(
         expected_millis,
         timedelta_in_millis(
             datetime.timedelta(**timedelta_constructor_args)))