mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-18 15:34:16 +02:00
add decorator
This commit is contained in:
parent
35c8a57aa3
commit
f0f8bbf26a
1 changed files with 60 additions and 61 deletions
|
@ -2288,9 +2288,8 @@ class TestDomainRequestAdmin(MockEppLib):
|
||||||
self.assertContains(response, "When a domain request is in ineligible status")
|
self.assertContains(response, "When a domain request is in ineligible status")
|
||||||
self.assertContains(response, "Yes, select ineligible status")
|
self.assertContains(response, "Yes, select ineligible status")
|
||||||
|
|
||||||
|
@less_console_noise_decorator
|
||||||
def test_readonly_when_restricted_creator(self):
|
def test_readonly_when_restricted_creator(self):
|
||||||
self.maxDiff = None
|
|
||||||
with less_console_noise():
|
|
||||||
domain_request = completed_domain_request(status=DomainRequest.DomainRequestStatus.IN_REVIEW)
|
domain_request = completed_domain_request(status=DomainRequest.DomainRequestStatus.IN_REVIEW)
|
||||||
with boto3_mocking.clients.handler_for("sesv2", self.mock_client):
|
with boto3_mocking.clients.handler_for("sesv2", self.mock_client):
|
||||||
domain_request.creator.status = User.RESTRICTED
|
domain_request.creator.status = User.RESTRICTED
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue