This commit is contained in:
Martin Pépin 2017-10-25 15:43:35 +02:00
parent d36a813e15
commit 2b62c3a785

View file

@ -14,7 +14,7 @@ class KeepUnselectableModelFormMixinTests(TestCase):
def _get_form_cls(self):
"""
We recreate a new form class for each test, because `queryset` may not
be reevaluate and miss the permissions created by `setUp`.
be reevaluated and may lack the permissions created by `setUp`.
"""
class ExampleForm(KeepUnselectableModelFormMixin, forms.ModelForm):
user_permissions = forms.ModelMultipleChoiceField(