(self)
| 868 | self._box.unlock() |
| 869 | |
| 870 | def test_get_info(self): |
| 871 | # Test getting message info from Maildir, not the message. |
| 872 | msg = mailbox.MaildirMessage(self._template % 0) |
| 873 | key = self._box.add(msg) |
| 874 | self.assertEqual(self._box.get_info(key), '') |
| 875 | msg.set_info('OurTestInfo') |
| 876 | self._box[key] = msg |
| 877 | self.assertEqual(self._box.get_info(key), 'OurTestInfo') |
| 878 | |
| 879 | def test_set_info(self): |
| 880 | # Test setting message info from Maildir, not the message. |
nothing calls this directly
no test coverage detected