From 3eda60c1e5bb3c1f954aeefae75e0d353acc3871 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Fri, 25 May 2018 09:40:29 +0200 Subject: [PATCH] lingo: add back date parser import as it's still in use (#24079) --- combo/apps/lingo/models.py | 1 + tests/test_lingo_remote_regie.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/combo/apps/lingo/models.py b/combo/apps/lingo/models.py index eae3084..b79545b 100644 --- a/combo/apps/lingo/models.py +++ b/combo/apps/lingo/models.py @@ -23,6 +23,7 @@ import urlparse from decimal import Decimal +from dateutil import parser import eopayment from jsonfield import JSONField diff --git a/tests/test_lingo_remote_regie.py b/tests/test_lingo_remote_regie.py index 31226ab..35b4d65 100644 --- a/tests/test_lingo_remote_regie.py +++ b/tests/test_lingo_remote_regie.py @@ -36,7 +36,7 @@ INVOICES = [ 'has_pdf': True, 'online_payment': True, 'paid': False, - 'payment_date': None, + 'payment_date': '1970-01-01', 'no_online_payment_reason': '', }, ] -- 2.17.0