From: Menno Smits Date: Wed, 9 Nov 2011 21:03:09 +0000 (+0000) Subject: fixed test that was raising ParseError for the wrong reason X-Git-Tag: 0.8~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=b1a6fa4a86882e55b4d2a14cd9002afc2b7fd4ad;p=imapclient.git fixed test that was raising ParseError for the wrong reason --- diff --git a/imapclient/test/test_response_parser.py b/imapclient/test/test_response_parser.py index 0707f26..1e98ca9 100644 --- a/imapclient/test/test_response_parser.py +++ b/imapclient/test/test_response_parser.py @@ -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):