Copy the widget for each language

This commit is contained in:
Cristi Ingineru
2018-06-28 12:33:44 +03:00
parent 2393539b44
commit 13e2666a51
3 changed files with 20 additions and 5 deletions

View File

@@ -16,6 +16,7 @@ class LocalizedFieldWidgetTestCase(TestCase):
widget = LocalizedFieldWidget()
assert len(widget.widgets) == len(settings.LANGUAGES)
assert len(set(widget.widgets)) == len(widget.widgets)
@staticmethod
def test_decompress():