mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-03 01:33:32 +02:00
changes to test_domain_model to stop addtl pathcer from running concurrently
This commit is contained in:
parent
1b4dea6ae5
commit
a24fd3cdac
1 changed files with 15 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue