summaryrefslogtreecommitdiff
path: root/tests/integration/mail/imap
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2017-08-24 17:46:52 -0400
committerKali Kaneko <kali@leap.se>2017-09-13 18:42:56 +0200
commit6173c99fa3b705814ade642ea4c900b8421283dc (patch)
tree30bf71d330f6eed0bd68f562c80a6399e8803cd5 /tests/integration/mail/imap
parent8f18e8a0fa96987de25d784f0df6c1066eee104e (diff)
[bug] send UIDNEXT on select
node-mail chokes if we don't.
Diffstat (limited to 'tests/integration/mail/imap')
-rw-r--r--tests/integration/mail/imap/test_imap.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/integration/mail/imap/test_imap.py b/tests/integration/mail/imap/test_imap.py
index ea86125d..82e416e5 100644
--- a/tests/integration/mail/imap/test_imap.py
+++ b/tests/integration/mail/imap/test_imap.py
@@ -460,7 +460,8 @@ class LEAPIMAP4ServerTestCase(IMAP4HelperMixin):
self.assertTrue(self.selectedArgs is not None)
self.assertEqual(self.selectedArgs, {
- 'EXISTS': 0, 'RECENT': 0, 'UIDVALIDITY': 42,
+ 'EXISTS': 0, 'RECENT': 0, 'UIDNEXT': 1,
+ 'UIDVALIDITY': 42,
'FLAGS': ('\\Seen', '\\Answered', '\\Flagged',
'\\Deleted', '\\Draft', '\\Recent', 'List'),
'READ-WRITE': True
@@ -668,7 +669,8 @@ class LEAPIMAP4ServerTestCase(IMAP4HelperMixin):
def _cbTestExamine(self, ignored):
self.assertEqual(self.examinedArgs, {
- 'EXISTS': 0, 'RECENT': 0, 'UIDVALIDITY': 42,
+ 'EXISTS': 0, 'RECENT': 0, 'UIDNEXT': 1,
+ 'UIDVALIDITY': 42,
'FLAGS': ('\\Seen', '\\Answered', '\\Flagged',
'\\Deleted', '\\Draft', '\\Recent', 'List'),
'READ-WRITE': False})