diff --git a/gregui/tests/api/test_invite_guest.py b/gregui/tests/api/test_invite_guest.py index 57a7453f1a933e67e8a92108a6eb7b11848abb21..86cd384404da0b3da97f69fb0f8daea7782876fd 100644 --- a/gregui/tests/api/test_invite_guest.py +++ b/gregui/tests/api/test_invite_guest.py @@ -66,7 +66,7 @@ def test_invite_guest(client, user_sponsor, unit_foo, role_type_foo, mocker): @pytest.mark.django_db def test_invite_cancel( - client, invitation_link, invitation, role, log_in, sponsor_guy, user_sponsor + client, invitation_link, invitation, role, log_in, sponsor_guy, user_sponsor ): # TODO: Should all sponsors be allowed to delete arbitrary invitations? log_in(user_sponsor) @@ -86,14 +86,14 @@ def test_invite_cancel( @pytest.mark.django_db def test_invite_resend_existing_invite_active( - client, - log_in, - user_sponsor, - person, - invitation, - invitation_link, - invitation_link_expired, - mocker, + client, + log_in, + user_sponsor, + person, + invitation, + invitation_link, + invitation_link_expired, + mocker, ): send_invite_mock_function = mocker.patch( "gregui.api.views.invitation.send_invite_mail" @@ -130,7 +130,7 @@ def test_invite_resend_existing_invite_active( @pytest.mark.django_db def test_invite_resend_existing_invite_not_active( - client, log_in, user_sponsor, person, invitation_link_expired, mocker + client, log_in, user_sponsor, person, invitation_link_expired, mocker ): send_invite_mock_function = mocker.patch( "gregui.api.views.invitation.send_invite_mail", return_value=10