From: Menno Smits Date: Wed, 17 Apr 2013 22:22:57 +0000 (+0100) Subject: Avoid using same test folder name twice in a row in test_folders X-Git-Tag: 0.10~2^2~21^2~2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=9c9a2005a0d173e18e09c8c8e4ba3bd37135bc62;p=imapclient.git Avoid using same test folder name twice in a row in test_folders This is an attempt to avoid "Mailbox already exists" errors at folder deletion time with Fastmail.fm. --- diff --git a/imapclient/livetest.py b/imapclient/livetest.py index 7df1b15..074d58d 100644 --- a/imapclient/livetest.py +++ b/imapclient/livetest.py @@ -259,19 +259,19 @@ class TestGeneral(_TestBase): folders = [ 'foobar', - b'foobar', 'stuff & things', - b'stuff & things', '123', - b'123', 'test & \u2622', + b'foobar', + b'stuff & things', + b'123', ] if not self.is_fastmail(): # Fastmail doesn't appear like double quotes in folder names folders.extend([ '"foobar"', - b'"foobar"', 'foo "bar"', + b'"foobar"', b'foo "bar"', ])