diff --git a/src/registrar/models/utility/admin_form_order_helper.py b/src/registrar/models/utility/admin_form_order_helper.py index e2d70efd9..aaa0cdce4 100644 --- a/src/registrar/models/utility/admin_form_order_helper.py +++ b/src/registrar/models/utility/admin_form_order_helper.py @@ -21,7 +21,7 @@ class AdminFormOrderHelper(): """A helper class to order a dropdown field in Django Admin, takes the fields you want to order by as an array""" # noqa # Used to keep track of how we want to order_by certain FKs - _sorting_dict: [SortingDictInterface] = [...] # noqa + _sorting_dict: list[SortingDictInterface] = [...] # noqa def __init__(self, sort): self._sorting_dict = sort diff --git a/src/registrar/tests/test_admin.py b/src/registrar/tests/test_admin.py index be62d7c1e..6575f3a4b 100644 --- a/src/registrar/tests/test_admin.py +++ b/src/registrar/tests/test_admin.py @@ -436,7 +436,7 @@ class AuditedAdminTest(TestCase): self.assertEqual(desired_order, current_sort_order_coerced_type, - "{} is not ordered alphabetically".format(field.name)) + "{} is not ordered alphabetically".format(field_name)) # I originally spent some time trying to fully # generalize this to replace the match/arg fields,