(self)
| 1595 | self._check_sample(msg) |
| 1596 | |
| 1597 | def test_initialize_with_nothing(self): |
| 1598 | # Initialize without arguments |
| 1599 | msg = self._factory() |
| 1600 | self._post_initialize_hook(msg) |
| 1601 | self.assertIsInstance(msg, email.message.Message) |
| 1602 | self.assertIsInstance(msg, mailbox.Message) |
| 1603 | self.assertIsInstance(msg, self._factory) |
| 1604 | self.assertEqual(msg.keys(), []) |
| 1605 | self.assertFalse(msg.is_multipart()) |
| 1606 | self.assertIsNone(msg.get_payload()) |
| 1607 | |
| 1608 | def test_initialize_incorrectly(self): |
| 1609 | # Initialize with invalid argument |
nothing calls this directly
no test coverage detected