summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/src/leap/mail/imap/tests/test_imap.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/src/leap/mail/imap/tests/test_imap.py b/mail/src/leap/mail/imap/tests/test_imap.py
index 738a674..802bc9d 100644
--- a/mail/src/leap/mail/imap/tests/test_imap.py
+++ b/mail/src/leap/mail/imap/tests/test_imap.py
@@ -472,7 +472,7 @@ class LEAPIMAP4ServerTestCase(IMAP4HelperMixin):
return d.addCallback(self._cbTestHierarchicalRename)
def _cbTestHierarchicalRename(self, mailboxes):
- expected = ['INBOX', 'newname', 'newname/m1', 'newname/m2']
+ expected = ['INBOX', 'newname/m1', 'newname/m2']
self.assertEqual(sorted(mailboxes), sorted([s for s in expected]))
def testSubscribe(self):
@@ -967,6 +967,7 @@ class LEAPIMAP4ServerTestCase(IMAP4HelperMixin):
return d.addCallback(self._cbTestFullAppend, infile)
def _cbTestFullAppend(self, fetched, infile):
+ fetched = list(fetched)
self.assertTrue(len(fetched) == 1)
self.assertTrue(len(fetched[0]) == 2)
uid, msg = fetched[0]