From 81ffb232e235ea12207eaa38454f7303c298371e Mon Sep 17 00:00:00 2001 From: Menno Smits Date: Wed, 27 Jan 2010 08:43:41 +0000 Subject: [PATCH] Fix select test, there's no guarantee there will be a message in the inbox --- livetest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/livetest.py b/livetest.py index 497516f..9d1ef2d 100755 --- a/livetest.py +++ b/livetest.py @@ -40,7 +40,7 @@ def test_list_folders(client): def test_select_and_close(client): resp = client.select_folder('INBOX') assert isinstance(resp['EXISTS'], int) - assert resp['EXISTS'] > 1 + assert resp['EXISTS'] > 0 assert isinstance(resp['RECENT'], int) assert isinstance(resp['FLAGS'], tuple) assert len(resp['FLAGS']) > 1 -- 2.43.0