diff options
author | za <za@python.or.id> | 2016-10-27 14:53:39 +0700 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2016-11-10 21:30:21 -0500 |
commit | 321e94fa41b121f65c02119c02098df327bbd569 (patch) | |
tree | ce5476c191d589aca4b124f841dfbccac8dd299f /tests/model_formsets | |
parent | 4bb70cbcc60794f515c9bfefeca87b8272d33c0c (diff) | |
download | django-321e94fa41b121f65c02119c02098df327bbd569.tar.gz |
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
Diffstat (limited to 'tests/model_formsets')
-rw-r--r-- | tests/model_formsets/tests.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/model_formsets/tests.py b/tests/model_formsets/tests.py index 43a5b9526e..fc0dff8304 100644 --- a/tests/model_formsets/tests.py +++ b/tests/model_formsets/tests.py @@ -485,8 +485,9 @@ class ModelFormsetTest(TestCase): self.assertEqual(poet2.name, 'Vladimir Mayakovsky') def test_custom_form(self): - """ Test that model_formset respects fields and exclude parameters of - custom form + """ + model_formset_factory() respects fields and exclude parameters of a + custom form. """ class PostForm1(forms.ModelForm): class Meta: @@ -508,8 +509,7 @@ class ModelFormsetTest(TestCase): def test_custom_queryset_init(self): """ - Test that a queryset can be overridden in the __init__ method. - https://docs.djangoproject.com/en/dev/topics/forms/modelforms/#changing-the-queryset + A queryset can be overridden in the formset's __init__() method. """ Author.objects.create(name='Charles Baudelaire') Author.objects.create(name='Paul Verlaine') |