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