Update test_views_portfolio.py

This commit is contained in:
zandercymatics 2025-03-05 11:56:49 -07:00
parent 330a246f86
commit 4d77e29a72
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -3873,7 +3873,7 @@ class TestPortfolioInviteNewMemberView(MockEppLib, WebTest):
# verify messages # verify messages
self.assertContains( self.assertContains(
response, response,
("This user has already been invited to another .gov organization."), f"{self.invited_member_email} has already been invited to another .gov organization.",
) )
# Validate Database has not changed # Validate Database has not changed
@ -3911,7 +3911,7 @@ class TestPortfolioInviteNewMemberView(MockEppLib, WebTest):
# Verify messages # Verify messages
self.assertContains( self.assertContains(
response, response,
("This user is already a member of another .gov organization."), f"{self.user.email} is already a member of another .gov organization.",
) )
# Validate Database has not changed # Validate Database has not changed