mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
Edited model and field checks for grammar and consistency.
This commit is contained in:
parent
bc4dc6e99c
commit
82ac389486
9 changed files with 374 additions and 395 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue