mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-22 10:46:06 +02:00
remove stray char (keyboard error?)
This commit is contained in:
parent
e0223e17b9
commit
38a3d38d0f
2 changed files with 3 additions and 9 deletions
|
@ -1876,7 +1876,7 @@ class TestPortfolio(WebTest):
|
|||
portfolio=self.portfolio,
|
||||
roles=[UserPortfolioRoleChoices.ORGANIZATION_MEMBER],
|
||||
)
|
||||
e with patch("django.contrib.messages.success") as mock_success:
|
||||
with patch("django.contrib.messages.success") as mock_success:
|
||||
self.client.force_login(self.user)
|
||||
response = self.client.post(
|
||||
reverse("invitedmember-delete", kwargs={"pk": invitation.pk}),
|
||||
|
|
|
@ -627,12 +627,6 @@ class NewMemberView(PortfolioMembersPermissionView, FormMixin):
|
|||
messages.warning(self.request, "User is already a member of this portfolio.")
|
||||
return redirect(self.get_success_url())
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# look up a user with that email
|
||||
try:
|
||||
requested_user = User.objects.get(email=requested_email)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue