Searched refs:timedelta_str (Results 1 – 3 of 3) sorted by relevance
42 self.assertEqual('0.000s', rh.utils.timedelta_str(delta))47 self.assertEqual('0.123s', rh.utils.timedelta_str(delta))52 self.assertEqual('12.300s', rh.utils.timedelta_str(delta))57 self.assertEqual('1m12.300s', rh.utils.timedelta_str(delta))62 self.assertEqual('1h6m40.300s', rh.utils.timedelta_str(delta))
36 def timedelta_str(delta): function
136 d = rh.utils.timedelta_str(duration)198 d = rh.utils.timedelta_str(datetime.datetime.now() - self.start_time)