mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-05 20:17:24 +02:00
updated merge
This commit is contained in:
parent
38db00bd79
commit
45b8ca358a
2 changed files with 8 additions and 7 deletions
|
@ -24,6 +24,7 @@ from auditlog.admin import LogEntryAdmin # type: ignore
|
||||||
from django_fsm import TransitionNotAllowed # type: ignore
|
from django_fsm import TransitionNotAllowed # type: ignore
|
||||||
from django.utils.safestring import mark_safe
|
from django.utils.safestring import mark_safe
|
||||||
from django.utils.html import escape
|
from django.utils.html import escape
|
||||||
|
from django.utils.translation import gettext_lazy as _
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
|
@ -1186,13 +1186,13 @@ class TestDomainApplicationAdmin(MockEppLib):
|
||||||
self.client.login(username="staffuser", password=p)
|
self.client.login(username="staffuser", password=p)
|
||||||
request = RequestFactory().get("/")
|
request = RequestFactory().get("/")
|
||||||
|
|
||||||
# These names have metadata embedded in them. :investigator implicitly tests if
|
# These names have metadata embedded in them. :investigator implicitly tests if
|
||||||
# these are actually from the attribute "investigator".
|
# these are actually from the attribute "investigator".
|
||||||
expected_list = [
|
expected_list = [
|
||||||
"AGuy AGuy last_name:investigator",
|
"AGuy AGuy last_name:investigator",
|
||||||
"FinalGuy FinalGuy last_name:investigator",
|
"FinalGuy FinalGuy last_name:investigator",
|
||||||
"SomeGuy first_name:investigator SomeGuy last_name:investigator",
|
"SomeGuy first_name:investigator SomeGuy last_name:investigator",
|
||||||
]
|
]
|
||||||
|
|
||||||
# Get the actual sorted list of investigators from the lookups method
|
# Get the actual sorted list of investigators from the lookups method
|
||||||
actual_list = [item for _, item in self.admin.InvestigatorFilter.lookups(self, request, self.admin)]
|
actual_list = [item for _, item in self.admin.InvestigatorFilter.lookups(self, request, self.admin)]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue