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
  • imapclient/test/test_IMAPClient.py

    r142 r143  
    117117 
    118118        self.client.append('foobar', sentinel.msg, ['FLAG', 'WAVE'], None) 
    119                             
     119 
    120120        self.assert_(self.client._imap.method_calls == 
    121                      [('append', ('foobar', 
     121                     [('append', ('"foobar"', 
    122122                                  '(FLAG WAVE)', 
    123123                                  None, 
     
    136136        self.assert_(datetime_to_imap.called) 
    137137        self.assert_(self.client._imap.method_calls == 
    138                      [('append', ('foobar', 
     138                     [('append', ('"foobar"', 
    139139                                  '(FLAG WAVE)', 
    140140                                  '"somedate"',