add Message.mark_seen shortcut

This commit is contained in:
holger krekel
2020-03-04 12:03:11 +01:00
parent 33dd747ec7
commit 36b50436d7
3 changed files with 6 additions and 2 deletions

View File

@@ -805,7 +805,7 @@ class TestOnlineAccount:
lp.sec("check that a second call to mark_seen does not create change or smtp job")
ac2._evtracker.consume_events()
ac2.mark_seen_messages([msg_in])
msg_in.mark_seen()
try:
ac2._evtracker.get_matching("DC_EVENT_MSG_READ", timeout=0.01)
except queue.Empty: