Skip to content

Commit

Permalink
[chores] Renamed test and added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nemesifier authored May 20, 2024
1 parent fcf0fc4 commit 672eae9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openwisp_notifications/tests/test_notifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -890,9 +890,10 @@ def test_email_notif_without_notif_setting(self):
)
self.assertEqual(len(mail.outbox), 0)

def test_email_notification_with_unverified_status(self):
def test_notification_for_unverified_email(self):
EmailAddress.objects.filter(user=self.admin).update(verified=False)
self._create_notification()
# we don't send emails to unverified email addresses
self.assertEqual(len(mail.outbox), 0)


Expand Down

0 comments on commit 672eae9

Please sign in to comment.