Fix merge issue

This commit is contained in:
zandercymatics 2023-10-19 10:50:18 -06:00
parent c30428b6f8
commit eebe6e117e
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -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)