mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-04 00:42:16 +02:00
Update test_views_portfolio.py
This commit is contained in:
parent
ea1fcf7afe
commit
c5b9984714
1 changed files with 4 additions and 2 deletions
|
@ -1677,7 +1677,8 @@ class TestPortfolio(WebTest):
|
|||
support_url = "https://get.gov/contact/"
|
||||
expected_error_message = (
|
||||
"This member can't be removed from the organization because they have an active domain request. "
|
||||
f"Please <a class='usa-link' href='{support_url}' target='_blank'>contact us</a> to remove this member."
|
||||
f"Please <a class='usa-link' href='{support_url}' target='_blank'>contact us</a> "
|
||||
"to remove this member."
|
||||
)
|
||||
|
||||
self.assertContains(response, expected_error_message, status_code=400)
|
||||
|
@ -1800,7 +1801,8 @@ class TestPortfolio(WebTest):
|
|||
support_url = "https://get.gov/contact/"
|
||||
expected_error_message = (
|
||||
"This member can't be removed from the organization because they have an active domain request. "
|
||||
f"Please <a class='usa-link' href='{support_url}' target='_blank'>contact us</a> to remove this member."
|
||||
f"Please <a class='usa-link' href='{support_url}' target='_blank'>contact us</a> "
|
||||
"to remove this member."
|
||||
)
|
||||
|
||||
args, kwargs = mock_error.call_args
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue