summaryrefslogtreecommitdiff
path: root/service/test/support
diff options
context:
space:
mode:
authorVictor Shyba <victor.shyba@gmail.com>2014-10-17 17:03:14 -0300
committerVictor Shyba <victor.shyba@gmail.com>2014-10-17 17:03:14 -0300
commit209729cbc97bf989cb9cb149c74d5cb2c1adc3b8 (patch)
treed0a00e97726b9f29bebf46b6ba25423d212530f2 /service/test/support
parent880bba5dd4cb370809c7a949719f015cae3126fa (diff)
bulk mark as read #114
Diffstat (limited to 'service/test/support')
-rw-r--r--service/test/support/integration_helper.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/service/test/support/integration_helper.py b/service/test/support/integration_helper.py
index 47bc8f11..f6b4249e 100644
--- a/service/test/support/integration_helper.py
+++ b/service/test/support/integration_helper.py
@@ -211,6 +211,9 @@ class SoledadTestBase:
def mark_many_as_unread(self, idents):
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)})
+
def add_mail_to_inbox(self, input_mail):
mail = self.mailboxes.inbox().add(input_mail)
mail.update_tags(input_mail.tags)