mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Edited model and field checks for grammar and consistency.
This commit is contained in:
@@ -37,7 +37,7 @@ class ModelValidationTest(TestCase):
|
||||
"sender, which has not been installed.",
|
||||
hint=None,
|
||||
obj='model_validation.tests',
|
||||
id='E014',
|
||||
id='signals.E001',
|
||||
),
|
||||
Error(
|
||||
"An instance of the `OnPostInit` class was connected to "
|
||||
@@ -45,7 +45,7 @@ class ModelValidationTest(TestCase):
|
||||
"'missing-app.Model' sender, which has not been installed.",
|
||||
hint=None,
|
||||
obj='model_validation.tests',
|
||||
id='E014',
|
||||
id='signals.E001',
|
||||
)
|
||||
]
|
||||
self.assertEqual(errors, expected)
|
||||
|
||||
Reference in New Issue
Block a user