Commit ed470c6d authored by Michal Čihař's avatar Michal Čihař

Fix expected mail counts

parent fd4cff78
......@@ -408,8 +408,8 @@ class NotificationTest(ViewTestCase):
'Error\nstatus'
)
# Check mail
self.assertEqual(len(mail.outbox), 1)
# Check mail (second one is for admin)
self.assertEqual(len(mail.outbox), 2)
self.assertEqual(
mail.outbox[0].subject,
'[Weblate] Merge failure in Test/Test'
......@@ -450,8 +450,8 @@ class NotificationTest(ViewTestCase):
self.second_user()
)
# Check mail
self.assertEqual(len(mail.outbox), 1)
# Check mail (second one is for admin)
self.assertEqual(len(mail.outbox), 2)
self.assertEqual(
mail.outbox[0].subject,
'[Weblate] New language request in Test/Test'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment