diff --git a/pyproject.toml b/pyproject.toml index db6594b..0292b68 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,7 +36,7 @@ dependencies = [ "aiohttp>=3.8.4", "aiohttp-requests>=0.2.2", "pypdf>=3.4.1", - "efoli>=1.1.0", + "efoli>=1.4.0", "pytz>=2022.7.1", ] dynamic = ["readme", "version"] diff --git a/requirements.txt b/requirements.txt index dee6b79..16a2486 100644 --- a/requirements.txt +++ b/requirements.txt @@ -20,7 +20,7 @@ brotli==1.1.0 # via aiohttp coworker==2.0.1 # via aiohttp-requests -efoli==1.1.0 +efoli==1.4.0 # via edi_energy_scraper (pyproject.toml) frozenlist==1.4.1 # via diff --git a/unittests/test_edienergyscraper.py b/unittests/test_edienergyscraper.py index a5a3c2f..d3caa43 100644 --- a/unittests/test_edienergyscraper.py +++ b/unittests/test_edienergyscraper.py @@ -474,7 +474,8 @@ async def test_mirroring(self, mocker, tmpdir_factory, datafiles, caplog): pytest.param("KostenblattFB1.0b_99991231_20230401.pdf", EdifactFormatVersion.FV2304), pytest.param("PARTINMIG1.0c_20240331_20240403.pdf", EdifactFormatVersion.FV2404), pytest.param("PARTINMIG1.0c_20240331_20241001.pdf", EdifactFormatVersion.FV2410), - pytest.param("PARTINMIG1.0c_20240331_20250404.pdf", EdifactFormatVersion.FV2504), + pytest.param("PARTINMIG1.0c_20240331_20250404.pdf", EdifactFormatVersion.FV2410), + pytest.param("PARTINMIG1.0c_20240331_20250606.pdf", EdifactFormatVersion.FV2504), pytest.param("PARTINMIG1.0c_20240331_20251001.pdf", EdifactFormatVersion.FV2510), pytest.param("IFTSTAMIG2.0e_20240402_20210929.pdf", EdifactFormatVersion.FV2104), # Before first threshold pytest.param( @@ -535,7 +536,7 @@ def test_get_edifact_version_and_formats(self, input_filename: str, expected_res id="valid in future, starting in past", ), pytest.param( - "IFTSTAMIG2.0e_20280930_20250404.pdf", + "IFTSTAMIG2.0e_20280930_20250606.pdf", [EdifactFormatVersion.FV2504], id="starting in future", ),