(self)
| 1686 | self.assertEqual(msg.get_date(), 0.0) |
| 1687 | |
| 1688 | def test_info(self): |
| 1689 | # Use get_info() and set_info() |
| 1690 | msg = mailbox.MaildirMessage(_sample_message) |
| 1691 | self.assertEqual(msg.get_info(), '') |
| 1692 | msg.set_info('1,foo=bar') |
| 1693 | self.assertEqual(msg.get_info(), '1,foo=bar') |
| 1694 | self.assertRaises(TypeError, lambda: msg.set_info(None)) |
| 1695 | self._check_sample(msg) |
| 1696 | |
| 1697 | def test_info_and_flags(self): |
| 1698 | # Test interaction of info and flag methods |
nothing calls this directly
no test coverage detected