From 3aab6bd8c1ac45c2c5637bf86663f31cd4ea531c Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Fri, 17 Oct 2014 17:43:46 -0300 Subject: adds regression tests on #114 due to a bug found and fixes mail creation with predefined status that wasnt being set --- service/test/support/integration_helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'service/test/support') 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) -- cgit v1.2.3