From: Menno Smits Date: Fri, 3 Jun 2011 15:13:35 +0000 (+0100) Subject: updated livetest to trigger ENVELOPE response issue with Fastmail.fm X-Git-Tag: 0.8~34^2~7 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=288e8a9f2127018408301b4d39465542c8cc5e62;p=imapclient.git updated livetest to trigger ENVELOPE response issue with Fastmail.fm --- diff --git a/livetest.py b/livetest.py index 539c096..345b981 100755 --- a/livetest.py +++ b/livetest.py @@ -20,9 +20,11 @@ from imapclient.config import parse_config_file, create_client_from_config SIMPLE_MESSAGE = 'Subject: something\r\n\r\nFoo\r\n' +# Simple address in To header triggers interesting Fastmail.fm +# behaviour with ENVELOPE responses. MULTIPART_MESSAGE = """\ From: Bob Smith -To: Some One +To: Some One , foo@foo.com Date: Tue, 16 Mar 2010 16:45:32 +0000 Message-ID: <1A472770E042064698CB5ADC83A12ACD39455AAB@ABC> MIME-Version: 1.0 @@ -368,7 +370,7 @@ def createLiveTestClass(conf, use_uid): (('Bob Smith', None, 'bob', 'smith.com'),), (('Bob Smith', None, 'bob', 'smith.com'),), (('Bob Smith', None, 'bob', 'smith.com'),), - (('Some One', None, 'some', 'one.com'),), + (('Some One', None, 'some', 'one.com'), (None, None, 'foo', 'foo.com')), None, None, None, '<1A472770E042064698CB5ADC83A12ACD39455AAB@ABC>'))