aboutsummaryrefslogtreecommitdiff
path: root/budget/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'budget/tests.py')
-rw-r--r--budget/tests.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/budget/tests.py b/budget/tests.py
index 7296803..4bb8e60 100644
--- a/budget/tests.py
+++ b/budget/tests.py
@@ -65,8 +65,9 @@ class BudgetTestCase(TestCase):
self.app.post("/raclette/invite", data=
{"emails": 'alexis@notmyidea.org'})
- self.assertEqual(len(outbox), 1)
- self.assertEqual(outbox[0].recipients, ["alexis@notmyidea.org"])
+ self.assertEqual(len(outbox), 2)
+ self.assertEqual(outbox[0].recipients, ["raclette@notmyidea.org"])
+ self.assertEqual(outbox[1].recipients, ["alexis@notmyidea.org"])
# sending a message to multiple persons
with run.mail.record_messages() as outbox: