From bfd0eee2c1485f74df13ca215a8ae9fae90f2446 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 2 Jun 2023 21:25:15 +0200 Subject: [PATCH] Update mt-940 requirement from ==4.23.* to ==4.30.* (#3345) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Raphael Michel --- pyproject.toml | 2 +- src/tests/plugins/banktransfer/test_mt940.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c7fcc1420..82adf7351 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -68,7 +68,7 @@ dependencies = [ "lxml", "markdown==3.4.3", # 3.3.5 requires importlib-metadata>=4.4, but django-bootstrap3 requires importlib-metadata<3. # We can upgrade markdown again once django-bootstrap3 upgrades or once we drop Python 3.6 and 3.7 - "mt-940==4.23.*", + "mt-940==4.30.*", "oauthlib==3.2.*", "openpyxl==3.1.*", "packaging", diff --git a/src/tests/plugins/banktransfer/test_mt940.py b/src/tests/plugins/banktransfer/test_mt940.py index 8498c7918..8a6a46aa6 100644 --- a/src/tests/plugins/banktransfer/test_mt940.py +++ b/src/tests/plugins/banktransfer/test_mt940.py @@ -215,13 +215,13 @@ EXPECTED = [ 'payer': 'MUELLER', 'iban': '234567', 'bic': '10020030', - 'reference': 'NONREF//55555\nMiete November'}, + 'reference': 'NONREF\n55555\nMiete November'}, {'amount': '3000.00', 'date': '2002-11-02', 'payer': 'MUELLER', 'iban': '0847564700', 'bic': '50060400', - 'reference': 'NONREF//55555\nGehalt OktoberFirma Mustermann GmbH'}, + 'reference': 'NONREF\n55555\nGehalt OktoberFirma Mustermann GmbH'}, ], [ {'amount': '-400.62', @@ -245,7 +245,7 @@ EXPECTED = [ 'payer': 'PETER PETERSEN', 'iban': '5555555555', 'bic': '50050050', - 'reference': 'NONREF//00000000\nRECHNUNG 20120165PETER PETERSEN\n0001'} + 'reference': 'NONREF\n000000000001\nRECHNUNG 20120165PETER PETERSEN'} ], [ {'amount': '5000.00', 'date': '2002-03-17',