mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-16 17:47:02 +02:00
lint
This commit is contained in:
parent
6c308332b0
commit
a676da486a
2 changed files with 4 additions and 2 deletions
|
@ -367,7 +367,8 @@ class DomainApplicationAdmin(ListHeaderAdmin):
|
||||||
if obj and obj.creator.status == "ineligible":
|
if obj and obj.creator.status == "ineligible":
|
||||||
messages.warning(
|
messages.warning(
|
||||||
request,
|
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):
|
def change_view(self, request, object_id, form_url="", extra_context=None):
|
||||||
|
|
|
@ -409,7 +409,8 @@ class TestDomainApplicationAdmin(TestCase):
|
||||||
# Assert that the error message was called with the correct argument
|
# Assert that the error message was called with the correct argument
|
||||||
mock_warning.assert_called_once_with(
|
mock_warning.assert_called_once_with(
|
||||||
request,
|
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):
|
def tearDown(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue