Update test_mail.py to include the bulk parameter for the bogus mailbox

This commit is contained in:
Thomas Falkenberg 2024-01-04 23:13:03 +01:00 committed by GitHub
parent fa363943c0
commit f2fb5edc23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,7 +118,7 @@ class BogusMailBox(AbstractContextManager):
if username != self.USERNAME or access_token != self.ACCESS_TOKEN: if username != self.USERNAME or access_token != self.ACCESS_TOKEN:
raise MailboxLoginError("BAD", "OK") raise MailboxLoginError("BAD", "OK")
def fetch(self, criteria, mark_seen, charset=""): def fetch(self, criteria, mark_seen, charset="", bulk):
msg = self.messages msg = self.messages
criteria = str(criteria).strip("()").split(" ") criteria = str(criteria).strip("()").split(" ")