Skip to content

Commit

Permalink
v2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
GitRon committed May 27, 2024
1 parent 2605187 commit c1c5c09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/services/base/test_base_mail_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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)

Expand Down

0 comments on commit c1c5c09

Please sign in to comment.