def test_is_daily_series_not_updated(self): # Hasta dos semanas se considera como actualizada is_updated = _is_series_updated(days_since_last_update=15, periodicity="R/P1D") self.assertFalse(is_updated)
def test_is_daily_series_updated(self): is_updated = _is_series_updated(days_since_last_update=1, periodicity="R/P1D") self.assertTrue(is_updated)