mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
test: no timeout in SetupPlugin
This commit is contained in:
@@ -605,7 +605,7 @@ class ACFactory:
|
|||||||
chat = ac1.create_group_chat("Protected Group", verified=True)
|
chat = ac1.create_group_chat("Protected Group", verified=True)
|
||||||
qr = chat.get_join_qr()
|
qr = chat.get_join_qr()
|
||||||
ac2.qr_join_chat(qr)
|
ac2.qr_join_chat(qr)
|
||||||
setupplugin.member_added.wait(timeout=30)
|
setupplugin.member_added.wait()
|
||||||
msg = ac2.wait_next_incoming_message()
|
msg = ac2.wait_next_incoming_message()
|
||||||
assert msg.text == "Messages are guaranteed to be end-to-end encrypted from now on."
|
assert msg.text == "Messages are guaranteed to be end-to-end encrypted from now on."
|
||||||
msg = ac2.wait_next_incoming_message()
|
msg = ac2.wait_next_incoming_message()
|
||||||
|
|||||||
@@ -509,7 +509,7 @@ def test_forward_encrypted_to_unencrypted(acfactory, lp):
|
|||||||
assert msg.text == txt
|
assert msg.text == txt
|
||||||
assert msg.is_encrypted()
|
assert msg.is_encrypted()
|
||||||
|
|
||||||
lp.sec("ac2: forward message to ac3 unencrypted ")
|
lp.sec("ac2: forward message to ac3 unencrypted")
|
||||||
unencrypted_chat = ac2.create_chat(ac3)
|
unencrypted_chat = ac2.create_chat(ac3)
|
||||||
msg_id = msg.id
|
msg_id = msg.id
|
||||||
msg2 = unencrypted_chat.send_msg(msg)
|
msg2 = unencrypted_chat.send_msg(msg)
|
||||||
|
|||||||
Reference in New Issue
Block a user