-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 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 |
---|---|---|
|
@@ -315,7 +315,7 @@ def test_send_and_log_email_success_privacy_active(self, mock_logger): | |
msg=EmailMultiAlternatives(subject="The Pony Express", to=["[email protected]"]) | ||
) | ||
|
||
mock_logger.debug.assert_called_with('Email "%s" successfully sent.', "The Pony Express") | ||
mock_logger.debug.assert_called_with('Email "The Pony Express" successfully sent.') | ||
self.assertEqual(result, 1) | ||
|
||
@mock.patch("django_pony_express.services.base.BaseEmailService._logger") | ||
|
@@ -327,7 +327,7 @@ def test_send_and_log_success_privacy_inactive(self, mock_logger): | |
) | ||
|
||
mock_logger.debug.assert_called_with( | ||
'Email "%s" successfully sent to %s.', "The Pony Express", "[email protected]" | ||
'Email "The Pony Express" successfully sent to [email protected].' | ||
) | ||
self.assertEqual(result, 1) | ||
|
||
|