diff options
| author | Victor Shyba <victor.shyba@gmail.com> | 2014-10-17 17:03:14 -0300 |
|---|---|---|
| committer | Victor Shyba <victor.shyba@gmail.com> | 2014-10-17 17:03:14 -0300 |
| commit | 209729cbc97bf989cb9cb149c74d5cb2c1adc3b8 (patch) | |
| tree | d0a00e97726b9f29bebf46b6ba25423d212530f2 /service/test/support | |
| parent | 880bba5dd4cb370809c7a949719f015cae3126fa (diff) | |
bulk mark as read #114
Diffstat (limited to 'service/test/support')
| -rw-r--r-- | service/test/support/integration_helper.py | 3 |
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) |
