Fix merge weirdness

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

View file

@ -917,23 +917,23 @@ class MockEppLib(TestCase):
def mockInfoContactCommands(self, _request, cleaned): def mockInfoContactCommands(self, _request, cleaned):
mocked_result: info.InfoContactResultData mocked_result: info.InfoContactResultData
# For testing contact types # For testing contact types
match getattr(_request, "id", None): match getattr(_request, "id", None):
case "securityContact": case "securityContact":
mocked_result = self.mockSecurityContact mocked_result = self.mockSecurityContact
case "technicalContact": case "technicalContact":
mocked_result = self.mockTechnicalContact mocked_result = self.mockTechnicalContact
case "adminContact": case "adminContact":
mocked_result = self.mockAdministrativeContact mocked_result = self.mockAdministrativeContact
case "regContact": case "regContact":
mocked_result = self.mockRegistrantContact mocked_result = self.mockRegistrantContact
case "defaultSec": case "defaultSec":
mocked_result = self.mockDefaultSecurityContact mocked_result = self.mockDefaultSecurityContact
case "defaultTech": case "defaultTech":
mocked_result = self.mockDefaultTechnicalContact mocked_result = self.mockDefaultTechnicalContact
case _: case _:
# Default contact return # Default contact return
mocked_result = self.mockDataInfoContact mocked_result = self.mockDataInfoContact
return MagicMock(res_data=[mocked_result]) return MagicMock(res_data=[mocked_result])