From 4bd609baac68fdcf02e0a145ef786c9540d931e5 Mon Sep 17 00:00:00 2001 From: raimonesteve Date: Sat, 21 Mar 2020 17:56:19 +0100 Subject: [PATCH] FIX error message test --- tests/test_account_invoice_consecutive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_account_invoice_consecutive.py b/tests/test_account_invoice_consecutive.py index c01f4dc..8106d8f 100644 --- a/tests/test_account_invoice_consecutive.py +++ b/tests/test_account_invoice_consecutive.py @@ -96,7 +96,7 @@ class AccountInvoiceConsecutiveTestCase(ModuleTestCase): yesterday = second_period.start_date + relativedelta(days=1) create_invoice(today) # Invoices can be created in the past - error_msg = 'There are 1 invoices after this date' + error_msg = 'an accounting date after' for date in [yesterday, first_period.end_date, first_period.start_date]: with self.assertRaises(UserError) as cm: