Skip to content

Commit 8a14a84

Browse files
committed
test: check that ac2 gets a verified chat in test_securejoin_after_contact_resetup
1 parent b00703c commit 8a14a84

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

deltachat-rpc-client/tests/test_securejoin.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,9 @@ def test_securejoin_after_contact_resetup(acfactory) -> None:
544544
logging.info("ac2 waits for member added message")
545545
snapshot = ac2.get_message_by_id(ac2.wait_for_incoming_msg_event().msg_id).get_snapshot()
546546
assert snapshot.is_info
547+
ac2_chat = snapshot.chat
548+
assert ac2_chat.get_basic_snapshot().is_protected
549+
assert len(ac2_chat.get_contacts()) == 3
547550

548551
# ac1 is still "not verified" for ac2 due to inconsistent state.
549552
assert not ac2_contact_ac1.get_snapshot().is_verified

0 commit comments

Comments
 (0)