def test_formatear_hora_3670_segundos(self): h, m, s = temp.formatear_tiempo_restante(3670) self.assertEqual(h, 1) self.assertEqual(m, 1) self.assertEqual(s, 10)
def test_formatear_hora_0_segundos(self): h, m, s = temp.formatear_tiempo_restante(0) self.assertEqual(h, 0) self.assertEqual(m, 0) self.assertEqual(s, 0)