Skip to content

Commit 5e90d06

Browse files
hpk42link2xt
authored andcommitted
fix the check, it's now always automat3ic
1 parent 1ef8757 commit 5e90d06

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

deltachat-rpc-client/tests/test_something.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1017,10 +1017,7 @@ def test_configured_imap_certificate_checks(acfactory):
10171017
# Certificate checks should be configured (not None)
10181018
info = alice.get_info()
10191019
domain = alice.get_config("addr").split("@")[-1]
1020-
if domain.startswith("_"):
1021-
assert "cert_automatic" in info.used_transport_settings
1022-
else:
1023-
assert "cert_strict" in info.used_transport_settings
1020+
assert "cert_automatic" in info.used_transport_settings
10241021

10251022
# "cert_old_automatic" is the value old Delta Chat core versions used
10261023
# to mean user entered "imap_certificate_checks=0" (Automatic)

0 commit comments

Comments
 (0)