mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-29 12:33:17 +02:00
* Biz logic fix for both DomainRequestAdmin and DomainAdmin * Remove DRA code and clean up and comment code query logic * Refactor createfromda and add unit tests * Remove extra code * Remove extraneous comment I meant to comment in the PR itself * Add in fix for Domain Request admin * Fix unit test for Domain Request Admin * Update comments for the lookups and querysets * Update create from da to dr because domain request * Some more da to dr clean up
This commit is contained in:
parent
fdd7fe85b1
commit
ef0c9e700f
7 changed files with 143 additions and 55 deletions
|
@ -739,7 +739,7 @@ class TestDomainRequestAdmin(MockEppLib):
|
|||
response = self.client.get("/admin/registrar/domainrequest/?generic_org_type__exact=federal")
|
||||
# There are 2 template references to Federal (4) and two in the results data
|
||||
# of the request
|
||||
self.assertContains(response, "Federal", count=55)
|
||||
self.assertContains(response, "Federal", count=56)
|
||||
# This may be a bit more robust
|
||||
self.assertContains(response, '<td class="field-converted_generic_org_type">Federal</td>', count=1)
|
||||
# Now let's make sure the long description does not exist
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue