mirror of
https://github.com/chatmail/core.git
synced 2026-04-06 07:32:12 +03:00
Update test_mdn_asymmetric
MDNs are processed now even when MDNs are disabled
This commit is contained in:
committed by
holger krekel
parent
a52131b574
commit
f6660af014
@@ -722,11 +722,13 @@ class TestOnlineAccount:
|
||||
ac2.mark_seen_messages([msg])
|
||||
|
||||
lp.sec("ac1: waiting for incoming activity")
|
||||
# wait for MOVED event because even ignored read-receipts should be moved
|
||||
# MDN should be moved even though MDNs are already disabled
|
||||
ac1._evlogger.get_matching("DC_EVENT_IMAP_MESSAGE_MOVED")
|
||||
|
||||
assert len(chat.get_messages()) == 1
|
||||
assert not msg_out.is_out_mdn_received()
|
||||
|
||||
# MDN is received even though MDNs are already disabled
|
||||
assert msg_out.is_out_mdn_received()
|
||||
|
||||
def test_send_and_receive_will_encrypt_decrypt(self, acfactory, lp):
|
||||
ac1, ac2 = acfactory.get_two_online_accounts()
|
||||
|
||||
Reference in New Issue
Block a user