Update test_admin.py

This commit is contained in:
zandercymatics 2023-12-19 12:07:12 -07:00
parent 2cf4508770
commit 5dcc5e4a13
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -1013,7 +1013,10 @@ class TestDomainApplicationAdmin(MockEppLib):
self.assertNotIn(application_2, current_dropdown)
def test_investigator_list_is_alphabetically_sorted(self):
""" """
"""
This test verifies that filter list for the 'investigator'
is displayed alphabetically
"""
# Create a mock DomainApplication object, with a fake investigator
application: DomainApplication = generic_domain_object("application", "SomeGuy")
investigator_user = User.objects.filter(username=application.investigator.username).get()