mirror of
https://github.com/chatmail/core.git
synced 2026-04-05 23:22:11 +03:00
test_configure_error_msgs: do not check for "password" repetition
When run against host that is not in the provider database or has multiple IMAP servers listed, this test fails because one error is returned for each server.
This commit is contained in:
committed by
link2xt
parent
2e3352afca
commit
21b18836ca
@@ -1805,8 +1805,7 @@ class TestOnlineAccount:
|
||||
if ev.data1 == 0:
|
||||
break
|
||||
# Password is wrong so it definitely has to say something about "password"
|
||||
# but the error message should not be repeated:
|
||||
assert ev.data2.count("password") == 1
|
||||
assert "password" in ev.data2
|
||||
|
||||
ac2, configdict = acfactory.get_online_config()
|
||||
ac2.update_config(configdict)
|
||||
|
||||
Reference in New Issue
Block a user