mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #33985 -- Used app_config.verbose_name in ContentType.__str__().
This commit is contained in:
committed by
Mariusz Felisiak
parent
18473004af
commit
a52bdea5a2
@@ -1118,7 +1118,7 @@ class QueryTestCase(TestCase):
|
||||
|
||||
# Set a foreign key with an object from a different database
|
||||
msg = (
|
||||
'Cannot assign "<ContentType: multiple_database | book>": the '
|
||||
'Cannot assign "<ContentType: Multiple_Database | book>": the '
|
||||
"current database router prevents this relation."
|
||||
)
|
||||
with self.assertRaisesMessage(ValueError, msg):
|
||||
|
||||
Reference in New Issue
Block a user