From 9c9a2005a0d173e18e09c8c8e4ba3bd37135bc62 Mon Sep 17 00:00:00 2001 From: Menno Smits Date: Wed, 17 Apr 2013 23:22:57 +0100 Subject: [PATCH] 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. --- imapclient/livetest.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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"', ]) -- 2.43.0