Fixed #20117 -- Added missing translation override to fix flatpages test.
This commit is contained in:
parent
e7514e4978
commit
6985f0c09b
|
@ -58,6 +58,7 @@ class FlatpageAdminFormTests(TestCase):
|
|||
|
||||
f = FlatpageForm(data=data)
|
||||
|
||||
with translation.override('en'):
|
||||
self.assertFalse(f.is_valid())
|
||||
|
||||
self.assertEqual(
|
||||
|
|
Loading…
Reference in New Issue