From a676da486ac186f40ff8c8feeef84d09af18297b Mon Sep 17 00:00:00 2001 From: rachidatecs Date: Fri, 25 Aug 2023 14:26:50 -0400 Subject: [PATCH] lint --- src/registrar/admin.py | 3 ++- src/registrar/tests/test_admin.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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):