mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-22 18:56:15 +02:00
Update test_admin.py
This commit is contained in:
parent
2cf4508770
commit
5dcc5e4a13
1 changed files with 4 additions and 1 deletions
|
@ -1013,7 +1013,10 @@ class TestDomainApplicationAdmin(MockEppLib):
|
||||||
self.assertNotIn(application_2, current_dropdown)
|
self.assertNotIn(application_2, current_dropdown)
|
||||||
|
|
||||||
def test_investigator_list_is_alphabetically_sorted(self):
|
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
|
# Create a mock DomainApplication object, with a fake investigator
|
||||||
application: DomainApplication = generic_domain_object("application", "SomeGuy")
|
application: DomainApplication = generic_domain_object("application", "SomeGuy")
|
||||||
investigator_user = User.objects.filter(username=application.investigator.username).get()
|
investigator_user = User.objects.filter(username=application.investigator.username).get()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue