def setUp(self): self.imap_protocol = IMAP4ClientProtocol(None) self.line_handler = Mock() self.fetch_handler = Mock()
def setUp(self): self.imap_protocol = IMAP4ClientProtocol(None)
def setUp(self): self.imap_protocol = IMAP4ClientProtocol(None) self.imap_protocol._handle_line = MagicMock(return_value=None)
def setUp(self): self.imap_protocol = IMAP4ClientProtocol(None) self.imap_protocol._handle_line = MagicMock(return_value=None) aioimaplib.get_running_loop = asyncio.new_event_loop # monkey patch to avoid Exception "No running loop"