mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-23 11:16:07 +02:00
Patch withdrawn email
This commit is contained in:
parent
c29b886dbd
commit
6eaed35b3e
1 changed files with 6 additions and 3 deletions
|
@ -2527,9 +2527,12 @@ class TestApplicationStatus(TestWithUser, WebTest):
|
||||||
self.assertContains(detail_page, "Admin Tester")
|
self.assertContains(detail_page, "Admin Tester")
|
||||||
self.assertContains(detail_page, "Status:")
|
self.assertContains(detail_page, "Status:")
|
||||||
# click the "Withdraw request" button
|
# click the "Withdraw request" button
|
||||||
withdraw_page = detail_page.click("Withdraw request")
|
mock_client = MockSESClient()
|
||||||
self.assertContains(withdraw_page, "Withdraw request for")
|
with boto3_mocking.clients.handler_for("sesv2", mock_client):
|
||||||
home_page = withdraw_page.click("Withdraw request")
|
with less_console_noise():
|
||||||
|
withdraw_page = detail_page.click("Withdraw request")
|
||||||
|
self.assertContains(withdraw_page, "Withdraw request for")
|
||||||
|
home_page = withdraw_page.click("Withdraw request")
|
||||||
# confirm that it has redirected, and the status has been updated to withdrawn
|
# confirm that it has redirected, and the status has been updated to withdrawn
|
||||||
self.assertRedirects(
|
self.assertRedirects(
|
||||||
home_page,
|
home_page,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue