Changeset 90:5ac3ccadb5fc for imapclient/test/test_FetchParser.py
- Timestamp:
- 18/12/09 17:17:30 (2 years ago)
- Branch:
- default
- Files:
-
- 1 modified
-
imapclient/test/test_FetchParser.py (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
imapclient/test/test_FetchParser.py
r87 r90 3 3 # Please see http://en.wikipedia.org/wiki/BSD_licenses 4 4 5 ''' 5 """ 6 6 Unit tests for the FetchTokeniser and FetchParser classes 7 ''' 7 """ 8 8 9 9 import unittest … … 94 94 95 95 def testCharacterCase(self): 96 '''Test handling of varied case in the response type name97 '''96 """Test handling of varied case in the response type name 97 """ 98 98 self._parse_test( 99 99 [r'2 (flaGS (\Deleted Foo \Seen))'], … … 131 131 132 132 def testMultipleTypes(self): 133 '''Test multiple response types'''133 """Test multiple response types""" 134 134 self._parse_test( 135 135 [r'2 (FLAGS (\Deleted Foo \Seen) INTERNALDATE " 9-Feb-2007 17:08:08 +0000")'], … … 144 144 145 145 def testMultipleMessages(self): 146 '''Test with multple messages in the response147 '''146 """Test with multple messages in the response 147 """ 148 148 self._parse_test( 149 149 [ … … 158 158 159 159 def testLiteral(self): 160 '''Test literal handling161 '''160 """Test literal handling 161 """ 162 162 self._parse_test( 163 163 [('1 (RFC822 {21}', 'Subject: test\r\n\r\nbody'), ')'], … … 212 212 213 213 def testUID(self): 214 '''Test UID handling. The UID is returned instead of the given message214 """Test UID handling. The UID is returned instead of the given message 215 215 ID if present. 216 '''216 """ 217 217 self._parse_test( 218 218 ['1 (UID 8)'],
