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/integration | |
parent | 15321219b05c5eb7f29e45587fcaa3c45e9a9dd7 (diff) |
adds permant deleted for trashed messages.
Diffstat (limited to 'service/test/integration')
-rw-r--r-- | service/test/integration/delete_mail_test.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/service/test/integration/delete_mail_test.py b/service/test/integration/delete_mail_test.py index 894f84bf..10c09e7a 100644 --- a/service/test/integration/delete_mail_test.py +++ b/service/test/integration/delete_mail_test.py @@ -39,3 +39,11 @@ class DeleteMailTest(unittest.TestCase, SoledadTestBase): self.assertEquals(0, len(inbox_mails)) trash_mails = self.get_mails_by_tag('trash') self.assertEquals(1, len(trash_mails)) + + def test_delete_mail_when_trashing_mail_from_trash_mailbox(self): + mails = self.add_multiple_to_mailbox(1, 'trash') + self.delete_mail(mails[0].ident) + + trash_mails = self.get_mails_by_tag('trash') + + self.assertEqual(0, len(trash_mails)) |