]> khamidou — GitHub mirrors - imapclient.git/commitdiff
fixed test that was raising ParseError for the wrong reason
authorMenno Smits <menno@freshfoo.com>
Wed, 9 Nov 2011 21:03:09 +0000 (21:03 +0000)
committerMenno Smits <menno@freshfoo.com>
Wed, 9 Nov 2011 21:03:09 +0000 (21:03 +0000)
imapclient/test/test_response_parser.py

index 0707f2687e5fe07dd9f6a573ed2da6847ef3deec..1e98ca9983a685f04c5915d14d06ee2b83dae87e 100644 (file)
@@ -202,8 +202,9 @@ class TestParseFetchResponse(unittest.TestCase):
                           {23: {'UID': 76,
                                 'SEQ': 23}})
 
+
     def test_bad_UID(self):
-        self.assertRaises(ParseError, parse_fetch_response, '(UID X)')
+        self.assertRaises(ParseError, parse_fetch_response, ['(UID X)'])
         
 
     def test_FLAGS(self):