root/imapclient/test/testable_imapclient.py

Revision 304:239f24fbd17c, 392 bytes (checked in by Menno Smits <menno@…>, 2 weeks ago)

updated copyright date to 2012

Line 
1# Copyright (c) 2012, Menno Smits
2# Released subject to the New BSD License
3# Please see http://en.wikipedia.org/wiki/BSD_licenses
4
5from imapclient.imapclient import IMAPClient
6from imapclient.test.mock import Mock
7
8class TestableIMAPClient(IMAPClient):
9
10    def __init__(self):
11        super(TestableIMAPClient, self).__init__('somehost')
12
13    def _create_IMAP4(self):
14        return Mock()
Note: See TracBrowser for help on using the browser.