From: Menno Smits Date: Wed, 17 Mar 2010 01:49:50 +0000 (+0000) Subject: Tiny cleanup of Gmail handling X-Git-Tag: 0.7~48 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=04f2c41ecb1a5e90a3d71c71416b39f58050c963;p=imapclient.git Tiny cleanup of Gmail handling --- diff --git a/livetest.py b/livetest.py index e69cf2e..9ac189d 100755 --- a/livetest.py +++ b/livetest.py @@ -263,12 +263,13 @@ def test_search(client): flags = () client.append('INBOX', msg, flags) + # Check we see all messages messages_all = client.search('ALL') if is_gmail(client): - # gmail seems to never return deleted items. - assert len(messages_all) == len(subjects)-1 # Check we see all messages + # Gmail seems to never return deleted items. + assert len(messages_all) == len(subjects) - 1 else: - assert len(messages_all) == len(subjects) # Check we see all messages + assert len(messages_all) == len(subjects) assert client.search() == messages_all # Check default # Single criteria