diff --git a/python/tests/test_account.py b/python/tests/test_account.py index aa124ab74..f0f935465 100644 --- a/python/tests/test_account.py +++ b/python/tests/test_account.py @@ -978,15 +978,15 @@ class TestOnlineAccount: msg_out = chat.send_text(text1) assert not msg_out.is_encrypted() + lp.sec("wait for ac2 to receive multi-line non-unicode message") + msg_in = ac2._evtracker.wait_next_incoming_message() + assert msg_in.text == text1 + lp.sec("sending multi-line unicode text message from ac1 to ac2") text2 = "äalis\nthis is ßßÄ" msg_out = chat.send_text(text2) assert not msg_out.is_encrypted() - lp.sec("wait for ac2 to receive multi-line non-unicode message") - msg_in = ac2._evtracker.wait_next_incoming_message() - assert msg_in.text == text1 - lp.sec("wait for ac2 to receive multi-line unicode message") msg_in = ac2._evtracker.wait_next_incoming_message() assert msg_in.text == text2