Searched refs:timedelta_str (Results 1 – 3 of 3) sorted by relevance
44 self.assertEqual('0.000s', rh.utils.timedelta_str(delta))49 self.assertEqual('0.123s', rh.utils.timedelta_str(delta))54 self.assertEqual('12.300s', rh.utils.timedelta_str(delta))59 self.assertEqual('1m12.300s', rh.utils.timedelta_str(delta))64 self.assertEqual('1h6m40.300s', rh.utils.timedelta_str(delta))
40 def timedelta_str(delta): function
158 rh.utils.timedelta_str(datetime.datetime.now() - self.start_time))