mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 09:26:29 +03:00
fix the check, it's now always automat3ic
This commit is contained in:
@@ -1017,10 +1017,7 @@ def test_configured_imap_certificate_checks(acfactory):
|
|||||||
# Certificate checks should be configured (not None)
|
# Certificate checks should be configured (not None)
|
||||||
info = alice.get_info()
|
info = alice.get_info()
|
||||||
domain = alice.get_config("addr").split("@")[-1]
|
domain = alice.get_config("addr").split("@")[-1]
|
||||||
if domain.startswith("_"):
|
|
||||||
assert "cert_automatic" in info.used_transport_settings
|
assert "cert_automatic" in info.used_transport_settings
|
||||||
else:
|
|
||||||
assert "cert_strict" in info.used_transport_settings
|
|
||||||
|
|
||||||
# "cert_old_automatic" is the value old Delta Chat core versions used
|
# "cert_old_automatic" is the value old Delta Chat core versions used
|
||||||
# to mean user entered "imap_certificate_checks=0" (Automatic)
|
# to mean user entered "imap_certificate_checks=0" (Automatic)
|
||||||
|
|||||||
Reference in New Issue
Block a user