summaryrefslogtreecommitdiff
path: root/service/test/support/integration_helper.py
diff options
context:
space:
mode:
Diffstat (limited to 'service/test/support/integration_helper.py')
-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)