diff options
| author | Lisa Junger <ljunger@thoughtworks.com> | 2014-10-20 12:20:04 +0200 |
|---|---|---|
| committer | Lisa Junger <ljunger@thoughtworks.com> | 2014-10-20 12:26:30 +0200 |
| commit | 6ddbfc0e6399d9b994ecd4c2c4b040aa6d364eac (patch) | |
| tree | 5428dab74ddb626903dbb5be0e82ef82ce7d21b1 /service/test/support | |
| parent | 15321219b05c5eb7f29e45587fcaa3c45e9a9dd7 (diff) | |
adds permant deleted for trashed messages.
Diffstat (limited to 'service/test/support')
| -rw-r--r-- | service/test/support/integration_helper.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/service/test/support/integration_helper.py b/service/test/support/integration_helper.py index 3667001f..e71da443 100644 --- a/service/test/support/integration_helper.py +++ b/service/test/support/integration_helper.py @@ -220,12 +220,14 @@ class SoledadTestBase: self.search_engine.index_mail(mail) def add_multiple_to_mailbox(self, num, mailbox='', flags=[], tags=[]): + mails = [] for _ in range(num): input_mail = MailBuilder().with_status(flags).with_tags(tags).build_input_mail() mail = self.mailboxes._create_or_get(mailbox).add(input_mail) + mails.append(mail) mail.update_tags(input_mail.tags) self.search_engine.index_mail(mail) - + return mails class ResponseMail: def __init__(self, mail_dict): |
