mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-18 02:19:23 +02:00
ran the formatter
This commit is contained in:
parent
bfded588d7
commit
00d020891f
4 changed files with 4 additions and 3 deletions
|
@ -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 = [
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -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",
|
||||
(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue