From 9e88764a8abaa3e47b825ad5a0d537fea4fabc5e Mon Sep 17 00:00:00 2001 From: link2xt Date: Thu, 17 Oct 2024 18:44:02 +0000 Subject: [PATCH] test(test_aeap_flow_verified): do not start ac1new ac1new is an account that is only used to get a new address for ac1. It should not even be started and run IMAP loop. --- deltachat-rpc-client/tests/test_securejoin.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/deltachat-rpc-client/tests/test_securejoin.py b/deltachat-rpc-client/tests/test_securejoin.py index 6247a6cdb..4afd0e704 100644 --- a/deltachat-rpc-client/tests/test_securejoin.py +++ b/deltachat-rpc-client/tests/test_securejoin.py @@ -459,7 +459,10 @@ def test_qr_new_group_unblocked(acfactory): def test_aeap_flow_verified(acfactory): """Test that a new address is added to a contact when it changes its address.""" - ac1, ac2, ac1new = acfactory.get_online_accounts(3) + ac1, ac2 = acfactory.get_online_accounts(2) + + # ac1new is only used to get a new address. + ac1new = acfactory.new_preconfigured_account() logging.info("ac1: create verified-group QR, ac2 scans and joins") chat = ac1.create_group("hello", protect=True)