diff --git a/src/registrar/admin.py b/src/registrar/admin.py index 4063efb5f..2d42fec07 100644 --- a/src/registrar/admin.py +++ b/src/registrar/admin.py @@ -367,7 +367,8 @@ class DomainApplicationAdmin(ListHeaderAdmin): if obj and obj.creator.status == "ineligible": messages.warning( request, - "Cannot edit an application when its creator has a status of ineligible.", + "Cannot edit an application when its creator " + + "has a status of ineligible.", ) def change_view(self, request, object_id, form_url="", extra_context=None): diff --git a/src/registrar/tests/test_admin.py b/src/registrar/tests/test_admin.py index 79d0501be..0ae1c660f 100644 --- a/src/registrar/tests/test_admin.py +++ b/src/registrar/tests/test_admin.py @@ -409,7 +409,8 @@ class TestDomainApplicationAdmin(TestCase): # Assert that the error message was called with the correct argument mock_warning.assert_called_once_with( request, - "Cannot edit an application when its creator has a status of ineligible.", + "Cannot edit an application when its creator " + + "has a status of ineligible.", ) def tearDown(self):