Correct the docstring for the invalid test.

This commit is contained in:
Mark Walker
2018-11-22 20:12:48 +00:00
parent fd9d0fa2b8
commit 3d9ac45cec
+1 -1
View File
@@ -967,7 +967,7 @@ class PolymorphicTests(TransactionTestCase):
list(Model2A.objects.all())
def test_invalid_polymorphic_id(self):
"""Test that a proper error message is displayed when the database lacks the ``polymorphic_ctype_id``"""
"""Test that a proper error message is displayed when the database ``polymorphic_ctype_id`` is invalid"""
Model2A.objects.create(field1='A1')
Model2B.objects.create(field1='A1', field2='B2')
Model2B.objects.create(field1='A1', field2='B2')