From 7383094b33c3ad01f7bb5191b6143947a6ef5ebd Mon Sep 17 00:00:00 2001 From: holger krekel Date: Mon, 11 Nov 2019 15:36:14 +0100 Subject: [PATCH] fix tests for failed logins --- python/tests/test_account.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/tests/test_account.py b/python/tests/test_account.py index 750c16414..22788151e 100644 --- a/python/tests/test_account.py +++ b/python/tests/test_account.py @@ -896,7 +896,7 @@ class TestOnlineConfigureFails: ac1.start_threads() wait_configuration_progress(ac1, 500) ev1 = ac1._evlogger.get_matching("DC_EVENT_ERROR_NETWORK") - assert "authentication failed" in ev1[2].lower() + assert "cannot login" in ev1[2].lower() wait_configuration_progress(ac1, 0, 0) def test_invalid_user(self, acfactory): @@ -905,7 +905,7 @@ class TestOnlineConfigureFails: ac1.start_threads() wait_configuration_progress(ac1, 500) ev1 = ac1._evlogger.get_matching("DC_EVENT_ERROR_NETWORK") - assert "authentication failed" in ev1[2].lower() + assert "cannot login" in ev1[2].lower() wait_configuration_progress(ac1, 0, 0) def test_invalid_domain(self, acfactory):