mirror of
https://github.com/chatmail/core.git
synced 2026-04-05 23:22:11 +03:00
convert the last two unsafe event emissions in smtp.rs
This commit is contained in:
@@ -214,14 +214,13 @@ class TestOnlineAccount:
|
||||
c2 = ac1.create_contact(email=ac1.get_config("addr"))
|
||||
chat = ac1.create_chat_by_contact(c2)
|
||||
assert chat.id >= const.DC_CHAT_ID_LAST_SPECIAL
|
||||
#wait_successful_IMAP_SMTP_connection(ac1)
|
||||
wait_successful_IMAP_SMTP_connection(ac1)
|
||||
wait_configuration_progress(ac1, 1000)
|
||||
|
||||
msg_out = chat.send_text("message2")
|
||||
# wait for other account to receive
|
||||
ev = ac1._evlogger.get_matching("DC_EVENT_INCOMING_MSG|DC_EVENT_MSGS_CHANGED")
|
||||
assert ev[1] == msg_out.id
|
||||
assert 0
|
||||
|
||||
def test_two_acocunts_send_receive(self, acfactory):
|
||||
ac1 = acfactory.get_online_configuring_account()
|
||||
|
||||
Reference in New Issue
Block a user