(self)
| 1671 | self.assertEqual(msg.get_date(), 0.0) |
| 1672 | |
| 1673 | def test_info(self): |
| 1674 | # Use get_info() and set_info() |
| 1675 | msg = mailbox.MaildirMessage(_sample_message) |
| 1676 | self.assertEqual(msg.get_info(), '') |
| 1677 | msg.set_info('1,foo=bar') |
| 1678 | self.assertEqual(msg.get_info(), '1,foo=bar') |
| 1679 | self.assertRaises(TypeError, lambda: msg.set_info(None)) |
| 1680 | self._check_sample(msg) |
| 1681 | |
| 1682 | def test_info_and_flags(self): |
| 1683 | # Test interaction of info and flag methods |
nothing calls this directly
no test coverage detected