fix the check, it's now always automat3ic

This commit is contained in:
holger krekel
2026-03-02 20:36:46 +01:00
committed by link2xt
parent 58db2d41ee
commit 1a04180ef6

View File

@@ -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)