-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove social_ prefix from templates, use emailaddress.email, remove …
…comments and print
- Loading branch information
varun kumar
committed
Dec 3, 2023
1 parent
810fb47
commit e0275cf
Showing
13 changed files
with
9 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -381,17 +381,3 @@ def test_dont_lookup_invalid_email(auth_client, email, did_look_up): | |
{"action_remove": "", "email": email}, | ||
) | ||
assert gfu_mock.called == did_look_up | ||
|
||
|
||
# @patch("allauth.account.app_settings.ACCOUNT_EMAIL_NOTIFICATIONS", True) | ||
# def test_notification_on_email_change(user, client, settings): | ||
# secondary = EmailAddress.objects.create( | ||
# email="[email protected]", user=user, verified=False, primary=True | ||
# ) | ||
# resp = client.post( | ||
# reverse("account_email"), | ||
# {"action_primary": "", "email": secondary.email}, | ||
# ) | ||
# assert resp.status_code == 302 | ||
# assert len(mail.outbox) == 1 | ||
# assert "Your email has been changed.{" in mail.outbox[0].body |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.