Lines Matching refs:mbox
1092 _factory = lambda self, path, factory=None: mailbox.mbox(path, factory)
1104 self._box = mailbox.mbox(self._path, create=True)
2128 def createMessage(self, dir, mbox=False): argument
2137 if mbox:
2152 self.mbox = mailbox.Maildir(support.TESTFN)
2155 self.assertIsNone(self.mbox.next())
2156 self.assertIsNone(self.mbox.next())
2160 self.mbox = mailbox.Maildir(support.TESTFN)
2162 self.assertIsNotNone(self.mbox.next())
2163 self.assertIsNone(self.mbox.next())
2164 self.assertIsNone(self.mbox.next())
2168 self.mbox = mailbox.Maildir(support.TESTFN)
2170 self.assertIsNotNone(self.mbox.next())
2171 self.assertIsNone(self.mbox.next())
2172 self.assertIsNone(self.mbox.next())
2177 self.mbox = mailbox.Maildir(support.TESTFN)
2179 self.assertIsNotNone(self.mbox.next())
2180 self.assertIsNotNone(self.mbox.next())
2181 self.assertIsNone(self.mbox.next())
2182 self.assertIsNone(self.mbox.next())