def test_with_hours(self): self.assertEqual("1:02:38 h", timekeeper.duration_with_seconds(1 * 3600 + 2 * 60 + 38))
def test_no_hours(self): self.assertEqual("12:08 min", timekeeper.duration_with_seconds(12 * 60 + 8))