From fdcfb20ab015a0f0aabac91c516843f4a77dfb5d Mon Sep 17 00:00:00 2001 From: Hocuri Date: Mon, 22 Jun 2026 13:20:35 +0200 Subject: [PATCH] test: In test_qr_scan_updates_new_relay_address(), test that sending a message actually works --- deltachat-rpc-client/tests/test_securejoin.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/deltachat-rpc-client/tests/test_securejoin.py b/deltachat-rpc-client/tests/test_securejoin.py index 238eff840..d9da04de9 100644 --- a/deltachat-rpc-client/tests/test_securejoin.py +++ b/deltachat-rpc-client/tests/test_securejoin.py @@ -709,7 +709,7 @@ def test_withdraw_securejoin_qr(acfactory): def test_qr_scan_updates_new_relay_address(acfactory): alice, bob = acfactory.get_online_accounts(2) - bob.secure_join(alice.get_qr_code()) + bob_alice_chat = bob.secure_join(alice.get_qr_code()) alice.wait_for_securejoin_inviter_success() bob.wait_for_securejoin_joiner_success() @@ -722,3 +722,7 @@ def test_qr_scan_updates_new_relay_address(acfactory): bob.secure_join(alice.get_qr_code()) alice.wait_for_securejoin_inviter_success() bob.wait_for_securejoin_joiner_success() + + bob_alice_chat.send_text("hi") + snapshot = alice.wait_for_incoming_msg().get_snapshot() + assert snapshot.text == "hi"