mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-16 09:37:03 +02:00
Fix merge issue
This commit is contained in:
parent
c30428b6f8
commit
eebe6e117e
1 changed files with 3 additions and 4 deletions
|
@ -900,11 +900,10 @@ class MockEppLib(TestCase):
|
||||||
"namerserversubdomain.gov": (self.infoDomainCheckHostIPCombo, None),
|
"namerserversubdomain.gov": (self.infoDomainCheckHostIPCombo, None),
|
||||||
"freeman.gov": (self.InfoDomainWithContacts, None),
|
"freeman.gov": (self.InfoDomainWithContacts, None),
|
||||||
"threenameserversDomain.gov": (self.infoDomainThreeHosts, None),
|
"threenameserversDomain.gov": (self.infoDomainThreeHosts, None),
|
||||||
|
"defaultsecurity.gov": (self.InfoDomainWithDefaultSecurityContact, None),
|
||||||
|
"defaulttechnical.gov": (self.InfoDomainWithDefaultTechnicalContact, None)
|
||||||
}
|
}
|
||||||
TODO = elif getattr(_request, "name", None) == "defaultsecurity.gov":
|
|
||||||
return MagicMock(res_data=[self.InfoDomainWithDefaultSecurityContact])
|
|
||||||
elif getattr(_request, "name", None) == "defaulttechnical.gov":
|
|
||||||
return MagicMock(res_data=[self.InfoDomainWithDefaultTechnicalContact])
|
|
||||||
# Retrieve the corresponding values from the dictionary
|
# Retrieve the corresponding values from the dictionary
|
||||||
res_data, extensions = request_mappings.get(
|
res_data, extensions = request_mappings.get(
|
||||||
request_name, (self.mockDataInfoDomain, None)
|
request_name, (self.mockDataInfoDomain, None)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue