MCPcopy Index your code
hub / github.com/python/cpython / test_initialize_existing

Method test_initialize_existing

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

Source from the content-addressed store, hash-verified

681 self._check_basics()
682
683 def test_initialize_existing(self):
684 # Initialize an existing mailbox
685 self.tearDown()
686 for subdir in '', 'tmp', 'new', 'cur':
687 os.mkdir(os.path.normpath(os.path.join(self._path, subdir)))
688 self._box = mailbox.Maildir(self._path)
689 self._check_basics()
690
691 def test_filename_leading_dot(self):
692 self.tearDown()

Callers

nothing calls this directly

Calls 4

_check_basicsMethod · 0.95
tearDownMethod · 0.45
mkdirMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected