Show
Ignore:
Timestamp:
12/28/09 19:01:43 (2 years ago)
Author:
msmits@…
Branch:
default
Message:

Added a (failing) test as a reminder about quoted specials (as per #28)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • imapclient/test/test_response_parser.py

    r113 r114  
    9595 
    9696 
     97    def test_quoted_specials(self): 
     98        self._test(r'"foo \"bar\""', ('foo "bar"',)) 
     99        self._test(r'"foo\\bar"', (r'foo\bar',)) 
     100 
     101 
    97102    def test_incomplete_tuple(self): 
    98103        self._test_parse_error('abc (1 2', 'Tuple incomplete before "(1 2"') 
     
    105110    def test_bad_quoting(self): 
    106111        self._test_parse_error('"abc next', 'No closing quotation: "abc next') 
     112 
     113 
    107114 
    108115