File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/thunderbird_accounts/authentication Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 77from django .core .exceptions import PermissionDenied
88from django .forms import model_to_dict
99from django .http import HttpRequest
10+ from urllib .parse import quote
1011from django .test import Client as RequestClient , override_settings
1112from django .test import TestCase
1213from django .utils .translation import gettext_lazy as _
@@ -894,7 +895,7 @@ def test_not_on_allowed_list(self, mock_import_user: MagicMock):
894895 mock_user_email = 'hello3@example.com'
895896
896897 # Redirect should include mock user's email in querystring
897- waitlist_url = f'{ settings .TB_PRO_WAIT_LIST_URL } ?email={ mock_user_email } '
898+ waitlist_url = f'{ settings .TB_PRO_WAIT_LIST_URL } ?email={ quote ( mock_user_email ) } '
898899
899900 response = self .client .post (
900901 '/users/sign-up/' ,
You can’t perform that action at this time.
0 commit comments