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

Method test_initialize_existing

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

Source from the content-addressed store, hash-verified

675 self._check_basics()
676
677 def test_initialize_existing(self):
678 # Initialize an existing mailbox
679 self.tearDown()
680 for subdir in '', 'tmp', 'new', 'cur':
681 os.mkdir(os.path.normpath(os.path.join(self._path, subdir)))
682 self._box = mailbox.Maildir(self._path)
683 self._check_basics()
684
685 def test_filename_leading_dot(self):
686 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