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

Method test_nonempty_maildir_cur

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

Source from the content-addressed store, hash-verified

2363 self.assertIsNone(self.mbox.next())
2364
2365 def test_nonempty_maildir_cur(self):
2366 self.createMessage("cur")
2367 self.mbox = mailbox.Maildir(os_helper.TESTFN)
2368 #self.assertEqual(len(self.mbox.boxes), 1)
2369 self.assertIsNotNone(self.mbox.next())
2370 self.assertIsNone(self.mbox.next())
2371 self.assertIsNone(self.mbox.next())
2372
2373 def test_nonempty_maildir_new(self):
2374 self.createMessage("new")

Callers

nothing calls this directly

Calls 4

createMessageMethod · 0.95
assertIsNotNoneMethod · 0.80
assertIsNoneMethod · 0.80
nextMethod · 0.45

Tested by

no test coverage detected