From c70be0345f705aa3343e4de154566d2505635b17 Mon Sep 17 00:00:00 2001 From: Hocuri Date: Wed, 6 May 2026 15:27:20 +0200 Subject: [PATCH] Try to fix test_basic_imap_api() --- python/tests/test_1_online.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/tests/test_1_online.py b/python/tests/test_1_online.py index dd0afe7c6..cc45518a6 100644 --- a/python/tests/test_1_online.py +++ b/python/tests/test_1_online.py @@ -15,6 +15,9 @@ def test_basic_imap_api(acfactory, tmp_path): ac1, ac2 = acfactory.get_online_accounts(2) chat12 = acfactory.get_accepted_chat(ac1, ac2) + # Make sure that messages are not immediately auto-deleted on the server: + ac2.set_config("bcc_self", "1") + imap2 = ac2.direct_imap with imap2.idle() as idle2: