From 03bda2331e2e04b6a7e1e335d06faafc00359d78 Mon Sep 17 00:00:00 2001 From: Guillaume Englert Date: Thu, 2 Jan 2025 11:48:36 +0100 Subject: [PATCH] Fix some tests which failed which the new year. --- creme/creme_core/tests/forms/test_widgets.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/creme/creme_core/tests/forms/test_widgets.py b/creme/creme_core/tests/forms/test_widgets.py index 20b833dfec..de2f66f396 100644 --- a/creme/creme_core/tests/forms/test_widgets.py +++ b/creme/creme_core/tests/forms/test_widgets.py @@ -46,7 +46,7 @@ class CalendarWidgetTestCase(CremeTestCase): def test_render_no_l10n_01(self): name = 'test_calendar' value = self.formfield_value_date(2022, 2, 25) - help_text = _('E.g. {}').format('2024-12-31') + help_text = _('E.g. {}').format('2025-12-31') self.assertHTMLEqual( f'
' f'
{help_text}
' @@ -62,7 +62,7 @@ def test_render_no_l10n_02(self): "Other format, value, name..." name = 'my_calendar' value = self.formfield_value_date(2023, 3, 26) - help_text = _('E.g. {}').format('31/12/2024') + help_text = _('E.g. {}').format('31/12/2025') self.assertHTMLEqual( f'
' f'
{help_text}
' @@ -78,7 +78,7 @@ def test_render_no_l10n_02(self): def test_render_l10n_en(self): name = 'my_calendar' value = self.formfield_value_date(2023, 3, 26) - help_text = _('E.g. {}').format('2024-12-31') + help_text = _('E.g. {}').format('2025-12-31') self.assertHTMLEqual( f'
' f'
{help_text}
' @@ -94,7 +94,7 @@ def test_render_l10n_en(self): def test_render_l10n_fr(self): name = 'calendar' value = self.formfield_value_date(2024, 4, 27) - help_text = _('E.g. {}').format('31/12/2024') + help_text = _('E.g. {}').format('31/12/2025') self.assertHTMLEqual( f'
' f'
{help_text}
'