From f6660af014cd485e036c387a237ccdf67cc269d9 Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Mon, 6 Jan 2020 12:10:22 +0100 Subject: [PATCH] Update test_mdn_asymmetric MDNs are processed now even when MDNs are disabled --- python/tests/test_account.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/python/tests/test_account.py b/python/tests/test_account.py index 61d4d770c..896907243 100644 --- a/python/tests/test_account.py +++ b/python/tests/test_account.py @@ -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()