• Home
  • Raw
  • Download

Lines Matching refs:_factory

50     _factory = None     # Overridden by subclasses to reuse tests  variable in TestMailbox
56 self._box = self._factory(self._path)
234 self._box = self._factory(self._path)
528 self._box = self._factory(self._path)
590 _factory = lambda self, path, factory=None: mailbox.Maildir(path, factory) member in TestMaildir
664 self._box = self._factory(self._path, factory=None)
678 self.assertEqual(self._box._factory, factory)
811 self._box = self._factory(self._path)
846 box = self._factory(self._path, factory=dummy_factory)
848 self.assertIs(folder._factory, dummy_factory)
851 self.assertIs(folder1_alias._factory, dummy_factory)
955 self._box = self._factory(self._path)
1042 self._box = self._factory(self._path)
1061 self._box = self._factory(self._path)
1108 self._box = self._factory(self._path)
1118 _factory = lambda self, path, factory=None: mailbox.mbox(path, factory) member in TestMbox
1164 _factory = lambda self, path, factory=None: mailbox.MMDF(path, factory) member in TestMMDF
1169 _factory = lambda self, path, factory=None: mailbox.MH(path, factory) member in TestMH
1187 self._box = self._factory(self._path, dummy_factory)
1199 self.assertIs(new_folder._factory, self._box._factory)
1200 self.assertIs(folder0._factory, self._box._factory)
1304 _factory = lambda self, path, factory=None: mailbox.Babyl(path, factory) member in TestBabyl
1369 _factory = mailbox.Message # Overridden by subclasses to reuse tests variable in TestMessage
1380 msg = self._factory(eMM)
1386 msg = self._factory(_sample_message)
1395 msg = self._factory(f)
1404 msg = self._factory(f)
1410 msg = self._factory()
1414 self.assertIsInstance(msg, self._factory)
1421 self.assertRaises(TypeError, lambda: self._factory(object()))
1426 msg = self._factory(_sample_message)
1434 msg = self._factory()
1441 msg = self._factory()
1455 _factory = mailbox.MaildirMessage variable in TestMaildirMessage
1529 _factory = mailbox._mboxMMDFMessage variable in _TestMboxMMDFMessage
1577 _factory = mailbox.mboxMessage variable in TestMboxMessage
1582 _factory = mailbox.MHMessage variable in TestMHMessage
1613 _factory = mailbox.BabylMessage variable in TestBabylMessage
1668 _factory = mailbox.MMDFMessage variable in TestMMDFMessage