diff options
-rw-r--r-- | service/test/integration/test_leap_mailstore.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/service/test/integration/test_leap_mailstore.py b/service/test/integration/test_leap_mailstore.py index f72a99be..af5ba8a0 100644 --- a/service/test/integration/test_leap_mailstore.py +++ b/service/test/integration/test_leap_mailstore.py @@ -199,4 +199,8 @@ class LeapMailStoreTest(SoledadTestBase): mail = yield self.mail_store.add_mail('INBOX', mail.as_string()) yield self.mail_store.delete_mail(mail.ident) - yield self.mail_store.delete_mail(mail.ident) + try: + yield self.mail_store.delete_mail(mail.ident) + except Exception as e: + self.fail("Deleting a deleted mail should be ok, but raised an error") + raise e |