ran the formatter

This commit is contained in:
asaki222 2024-10-22 16:45:39 -04:00
parent bfded588d7
commit 00d020891f
No known key found for this signature in database
GPG key ID: 2C4F802060E06EA4
4 changed files with 4 additions and 3 deletions

View file

@ -1701,7 +1701,7 @@ class DomainRequestAdmin(ListHeaderAdmin, ImportExportModelAdmin):
"converted_federal_agency",
"converted_federal_type",
"converted_city",
"converted_state_territory"
"converted_state_territory",
]
orderable_fk_fields = [

View file

@ -673,7 +673,7 @@ class DomainRequest(TimeStampedModel):
def send_custom_status_update_email(self, status):
"""Helper function to send out a second status email when the status remains the same,
but the reason has changed."""
# Currently, we store all this information in three variables.
# When adding new reasons, this can be a lot to manage so we store it here
# in a centralized location. However, this may need to change if this scales.

View file

@ -193,7 +193,7 @@ class GenericTestHelper(TestCase):
response = self.admin.changelist_view(dummy_request)
response.render() # Render the response before accessing its content
returned_sort_order = list(response.context_data["cl"].result_list)
self.assertEqual(expected_sort_order, returned_sort_order)
def _mock_user_request_for_factory(self, request):

View file

@ -459,6 +459,7 @@ class TestDomainRequestAdmin(MockEppLib):
)
# Assert that sorting in reverse works correctly
print("working there is a thingy")
self.test_helper.assert_table_sorted(
"-13",
(