mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 01:16:31 +03:00
test(python): make test_mdn_asymmetric less flaky
Normally the message has UID 1, but this is not true when account is reused. In this case the message may be "Marked messages 2 in folder DeltaChat as seen." and the test times out waiting for "Marked messages 1 in folder DeltaChat as seen."
This commit is contained in:
@@ -703,7 +703,7 @@ def test_mdn_asymmetric(acfactory, lp):
|
|||||||
assert len(chat.get_messages()) == 1
|
assert len(chat.get_messages()) == 1
|
||||||
|
|
||||||
# Wait for the message to be marked as seen on IMAP.
|
# Wait for the message to be marked as seen on IMAP.
|
||||||
ac1._evtracker.get_info_contains("Marked messages 1 in folder DeltaChat as seen.")
|
ac1._evtracker.get_info_contains("Marked messages [0-9]+ in folder DeltaChat as seen.")
|
||||||
|
|
||||||
# MDN is received even though MDNs are already disabled
|
# MDN is received even though MDNs are already disabled
|
||||||
assert msg_out.is_out_mdn_received()
|
assert msg_out.is_out_mdn_received()
|
||||||
|
|||||||
Reference in New Issue
Block a user