diff options
Diffstat (limited to 'tests/model_forms_regress/tests.py')
| -rw-r--r-- | tests/model_forms_regress/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/model_forms_regress/tests.py b/tests/model_forms_regress/tests.py index d6c05f3153..2d115f515b 100644 --- a/tests/model_forms_regress/tests.py +++ b/tests/model_forms_regress/tests.py @@ -285,7 +285,7 @@ class OneToOneFieldTests(TestCase): self.assertEqual(form.cleaned_data['publication'], None) author = form.save() # author object returned from form still retains original publication object - # that's why we need to retreive it from database again + # that's why we need to retrieve it from database again new_author = Author.objects.get(pk=author.pk) self.assertEqual(new_author.publication, None) |
