From 2ea45552e5c70f4104c233bd7c1126d6b75e39e7 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Mon, 2 Mar 2026 20:36:46 +0100 Subject: [PATCH] fix the check, it's now always automat3ic --- deltachat-rpc-client/tests/test_something.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/deltachat-rpc-client/tests/test_something.py b/deltachat-rpc-client/tests/test_something.py index 059777996..15e8b3630 100644 --- a/deltachat-rpc-client/tests/test_something.py +++ b/deltachat-rpc-client/tests/test_something.py @@ -1017,10 +1017,7 @@ def test_configured_imap_certificate_checks(acfactory): # Certificate checks should be configured (not None) info = alice.get_info() domain = alice.get_config("addr").split("@")[-1] - if domain.startswith("_"): - assert "cert_automatic" in info.used_transport_settings - else: - assert "cert_strict" in info.used_transport_settings + assert "cert_automatic" in info.used_transport_settings # "cert_old_automatic" is the value old Delta Chat core versions used # to mean user entered "imap_certificate_checks=0" (Automatic)