Show
Ignore:
Timestamp:
04/29/10 22:10:51 (2 years ago)
Author:
Menno Smits <menno@…>
Branch:
default
Message:

#42: Folder names with double quotes around them have the double quotes stripped

Work around an imaplib misfeature which prevents quoting when folder names
start and end with double quotes.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • livetest.py

    r140 r143  
    144144 
    145145    test_folders = ['foobar', 
     146                    '"foobar"', 
     147                    'foo "bar"', 
    146148                    'stuff & things', 
    147149                    u'test & \u2622'] 
     
    153155 
    154156        assert client.folder_exists(folder) 
    155         assert folder in extract_normal_folders(client.list_folders()) 
     157        assert folder in extract_normal_folders(client.list_folders()), repr(folder) 
    156158 
    157159        client.select_folder(folder)