diff options
author | Kali Kaneko <kali@leap.se> | 2017-08-24 17:46:52 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2017-09-13 18:42:56 +0200 |
commit | 6173c99fa3b705814ade642ea4c900b8421283dc (patch) | |
tree | 30bf71d330f6eed0bd68f562c80a6399e8803cd5 /tests/integration/mail | |
parent | 8f18e8a0fa96987de25d784f0df6c1066eee104e (diff) |
[bug] send UIDNEXT on select
node-mail chokes if we don't.
Diffstat (limited to 'tests/integration/mail')
-rw-r--r-- | tests/integration/mail/imap/test_imap.py | 6 |
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}) |