(self)
| 558 | # command tests |
| 559 | |
| 560 | def test_idle_capability(self): |
| 561 | client, _ = self._setup(SimpleIMAPHandler) |
| 562 | with self.assertRaisesRegex(imaplib.IMAP4.error, |
| 563 | 'does not support IMAP4 IDLE'): |
| 564 | with client.idle(): |
| 565 | pass |
| 566 | |
| 567 | def test_idle_denied(self): |
| 568 | client, _ = self._setup(IdleCmdDenyHandler) |
nothing calls this directly
no test coverage detected