From af9a81aa7f14ae1a9fd1f25676f526a43f0c65f3 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Wed, 31 May 2017 19:29:34 -0400 Subject: [PATCH] [1.11.x] Fixed a forms test after updated translations. Backport of 84fb50df670c8126983c9f0fd4a5c30dbe57b684 from master --- tests/forms_tests/field_tests/test_datefield.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/forms_tests/field_tests/test_datefield.py b/tests/forms_tests/field_tests/test_datefield.py index b23b5a42ce..e3a02f9533 100644 --- a/tests/forms_tests/field_tests/test_datefield.py +++ b/tests/forms_tests/field_tests/test_datefield.py @@ -104,7 +104,7 @@ class DateFieldTest(SimpleTestCase): a = GetDate({'mydate_month': '2', 'mydate_day': '31', 'mydate_year': '2010'}) self.assertFalse(a.is_valid()) # 'Geef een geldige datum op.' = 'Enter a valid date.' - self.assertEqual(a.errors, {'mydate': ['Geef een geldige datum op.']}) + self.assertEqual(a.errors, {'mydate': ['Voer een geldige datum in.']}) @override_settings(USE_L10N=True) @translation.override('nl')