Skip to content

Commit c3c7553

Browse files
committed
test(rpc-client): test_qr_securejoin_broadcast: Wait for CHATLIST_CHANGED before getting chatlist
1 parent 7b54954 commit c3c7553

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

deltachat-rpc-client/tests/test_securejoin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ def get_broadcast(ac):
140140
return chat
141141

142142
def wait_for_broadcast_messages(ac):
143+
ac.wait_for_event(EventType.CHATLIST_CHANGED)
143144
chat = get_broadcast(ac)
144145

145146
snapshot = ac.wait_for_incoming_msg().get_snapshot()

0 commit comments

Comments
 (0)