From b245cf7be12f4a18ca0158bdb1334a9a06933e58 Mon Sep 17 00:00:00 2001 From: tinogis Date: Mon, 19 Jun 2023 12:28:30 +0200 Subject: [PATCH] IMP Add C3 on 3 months ago liquicomun test --- spec/archives_spec.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/archives_spec.py b/spec/archives_spec.py index 3c20dc8..0f9f98d 100644 --- a/spec/archives_spec.py +++ b/spec/archives_spec.py @@ -93,13 +93,13 @@ def validate_P48cierre(xml): expected_versions = ('A1', 'A2') assert test_expected_to_work(the_class=self.e.liquicomun, start=start, end=end, expected_versions=expected_versions) - with it('should download C2 or A3 for 3 months ago'): + with it('should download C2, C3 or A3 for 3 months ago'): today = self.today - timedelta(days=93) start = datetime(today.year, today.month, 1) last_month_day = calendar.monthrange(start.year, start.month)[1] end = datetime(start.year, start.month, last_month_day) - expected_versions = ('A3', 'C2') + expected_versions = ('A3', 'C2', 'C3') assert test_expected_to_work(the_class=self.e.liquicomun, start=start, end=end, expected_versions=expected_versions) with it('should download C6 o C5 for a year ago'):