summaryrefslogtreecommitdiff
path: root/service/test/integration
diff options
context:
space:
mode:
authorFolker Bernitt <fbernitt@thoughtworks.com>2015-07-28 15:50:38 +0200
committerFolker Bernitt <fbernitt@thoughtworks.com>2015-08-11 17:00:29 +0200
commit9ba07cc943f1d85664b70546404ee26b1313dcee (patch)
tree36e82c087fb112f244559e0d1d136ab27eec378f /service/test/integration
parentff739a697af362647c17a4010984439a03b673df (diff)
Added delete_mailbox to leap mail store.
Diffstat (limited to 'service/test/integration')
-rw-r--r--service/test/integration/test_leap_mailstore.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/service/test/integration/test_leap_mailstore.py b/service/test/integration/test_leap_mailstore.py
index 1cca6903..d4589a1a 100644
--- a/service/test/integration/test_leap_mailstore.py
+++ b/service/test/integration/test_leap_mailstore.py
@@ -71,11 +71,12 @@ class LeapMailStoreTest(SoledadTestBase):
def test_get_mailbox_mail_ids(self):
mail = _load_mail_from_file('mbox00000000')
yield self.store.add_mailbox('INBOX')
- yield self.store.add_mail('INBOX', mail.as_string())
+ mail = yield self.store.add_mail('INBOX', mail.as_string())
mails = yield self.store.get_mailbox_mail_ids('INBOX')
self.assertEqual(1, len(mails))
+ self.assertEqual(mail.mail_id, mails[0])
@defer.inlineCallbacks
def _create_mail_in_soledad(self, mail):