MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_initialize_new

Method test_initialize_new

Lib/test/test_mailbox.py:668–675  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

666 self.assertIsInstance(msg2, FakeMessage)
667
668 def test_initialize_new(self):
669 # Initialize a non-existent mailbox
670 self.tearDown()
671 self._box = mailbox.Maildir(self._path)
672 self._check_basics()
673 self._delete_recursively(self._path)
674 self._box = self._factory(self._path, factory=None)
675 self._check_basics()
676
677 def test_initialize_existing(self):
678 # Initialize an existing mailbox

Callers

nothing calls this directly

Calls 4

_check_basicsMethod · 0.95
_delete_recursivelyMethod · 0.80
_factoryMethod · 0.80
tearDownMethod · 0.45

Tested by

no test coverage detected