Searched refs:timedelta_str (Results 1 – 3 of 3) sorted by relevance
41 self.assertEqual('0.000s', rh.utils.timedelta_str(delta))46 self.assertEqual('0.123s', rh.utils.timedelta_str(delta))51 self.assertEqual('12.300s', rh.utils.timedelta_str(delta))56 self.assertEqual('1m12.300s', rh.utils.timedelta_str(delta))61 self.assertEqual('1h6m40.300s', rh.utils.timedelta_str(delta))
36 def timedelta_str(delta): function
122 (rh.utils.timedelta_str(duration),))160 rh.utils.timedelta_str(datetime.datetime.now() - self.start_time))