summaryrefslogtreecommitdiff
path: root/service/test/support
diff options
context:
space:
mode:
authorVictor Shyba <victor.shyba@gmail.com>2014-10-17 17:43:46 -0300
committerVictor Shyba <victor.shyba@gmail.com>2014-10-17 17:43:46 -0300
commit3aab6bd8c1ac45c2c5637bf86663f31cd4ea531c (patch)
tree60c7c09a53ac1c82b6ea23826af99ab00e5b24e1 /service/test/support
parent209729cbc97bf989cb9cb149c74d5cb2c1adc3b8 (diff)
adds regression tests on #114 due to a bug found and fixes mail creation with predefined status that wasnt being set
Diffstat (limited to 'service/test/support')
-rw-r--r--service/test/support/integration_helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/test/support/integration_helper.py b/service/test/support/integration_helper.py
index f6b4249e..3667001f 100644
--- a/service/test/support/integration_helper.py
+++ b/service/test/support/integration_helper.py
@@ -212,7 +212,7 @@ class SoledadTestBase:
self.client.post('/mails/unread', data={'idents': json.dumps(idents)})
def mark_many_as_read(self, idents):
- self.client.post('/mails/read', data={'idents': json.dumps(idents)})
+ return self.client.post('/mails/read', data={'idents': json.dumps(idents)})
def add_mail_to_inbox(self, input_mail):
mail = self.mailboxes.inbox().add(input_mail)