summaryrefslogtreecommitdiff
path: root/tests/contenttypes_tests/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/contenttypes_tests/tests.py')
-rw-r--r--tests/contenttypes_tests/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/contenttypes_tests/tests.py b/tests/contenttypes_tests/tests.py
index 794b1e34ef..14e14e0913 100644
--- a/tests/contenttypes_tests/tests.py
+++ b/tests/contenttypes_tests/tests.py
@@ -154,7 +154,7 @@ class GenericForeignKeyTests(SimpleTestCase):
errors = TaggedItem.content_object.check()
expected = [
checks.Error(
- "The GenericForeignKey content type references the non-existent field 'TaggedItem.content_type'.",
+ "The GenericForeignKey content type references the nonexistent field 'TaggedItem.content_type'.",
obj=TaggedItem.content_object,
id='contenttypes.E002',
)
@@ -212,7 +212,7 @@ class GenericForeignKeyTests(SimpleTestCase):
errors = TaggedItem.content_object.check()
expected = [
checks.Error(
- "The GenericForeignKey object ID references the non-existent field 'object_id'.",
+ "The GenericForeignKey object ID references the nonexistent field 'object_id'.",
obj=TaggedItem.content_object,
id='contenttypes.E001',
)