diff --git a/src/registrar/tests/test_models_domain.py b/src/registrar/tests/test_models_domain.py index b0a9b097e..16dd30017 100644 --- a/src/registrar/tests/test_models_domain.py +++ b/src/registrar/tests/test_models_domain.py @@ -852,6 +852,9 @@ class TestRegistrantDNSSEC(MockEppLib): """ + # make sure to stop any other patcher so there are no conflicts + self.mockSendPatch.stop() + def side_effect(_request, cleaned): return MagicMock( res_data=[self.mockDataInfoDomain], @@ -920,6 +923,9 @@ class TestRegistrantDNSSEC(MockEppLib): """ + # make sure to stop any other patcher so there are no conflicts + self.mockSendPatch.stop() + def side_effect(_request, cleaned): return MagicMock( res_data=[self.mockDataInfoDomain], @@ -988,6 +994,9 @@ class TestRegistrantDNSSEC(MockEppLib): """ + # make sure to stop any other patcher so there are no conflicts + self.mockSendPatch.stop() + def side_effect(_request, cleaned): return MagicMock( res_data=[self.mockDataInfoDomain], @@ -1054,6 +1063,9 @@ class TestRegistrantDNSSEC(MockEppLib): """ + # make sure to stop any other patcher so there are no conflicts + self.mockSendPatch.stop() + def side_effect(_request, cleaned): return MagicMock( res_data=[self.mockDataInfoDomain], @@ -1114,6 +1126,9 @@ class TestRegistrantDNSSEC(MockEppLib): Then a user-friendly error message is returned for displaying on the web """ + # make sure to stop any other patcher so there are no conflicts + self.mockSendPatch.stop() + def side_effect(_request, cleaned): raise RegistryError(code=ErrorCode.PARAMETER_VALUE_RANGE_ERROR)