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
@@ -587,5 +587,5 @@ class PermissionTests(TestCase):
|
||||
def test_str(self):
|
||||
p = Permission.objects.get(codename="view_customemailfield")
|
||||
self.assertEqual(
|
||||
str(p), "auth_tests | custom email field | Can view custom email field"
|
||||
str(p), "Auth_Tests | custom email field | Can view custom email field"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user