mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Refs #33476 -- Refactored code to strictly match 88 characters line length.
This commit is contained in:
@@ -43,7 +43,10 @@ class TestRegistration(SimpleTestCase):
|
||||
pass
|
||||
|
||||
self.site.register(Person, PersonAdmin)
|
||||
msg = "The model Person is already registered with 'admin_registration.PersonAdmin'."
|
||||
msg = (
|
||||
"The model Person is already registered with "
|
||||
"'admin_registration.PersonAdmin'."
|
||||
)
|
||||
with self.assertRaisesMessage(admin.sites.AlreadyRegistered, msg):
|
||||
self.site.register(Person, PersonAdmin)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user