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