Update test_views_portfolio.py

This commit is contained in:
zandercymatics 2025-01-23 11:47:45 -07:00
parent ea1fcf7afe
commit c5b9984714
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -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