imap: expunge folder before IDLE if needed

This ensures Inbox is expunged timely in setups that don't watch
DeltaChat folder.
This commit is contained in:
Alexander Krotov
2020-07-12 19:01:35 +03:00
committed by link2xt
parent d3eb209d27
commit 1e84e81e7d
3 changed files with 16 additions and 5 deletions

View File

@@ -1542,7 +1542,6 @@ class TestOnlineAccount:
assert msg.is_encrypted(), "Message is not encrypted"
assert msg.chat == ac2.create_chat(ac4)
@pytest.mark.xfail
def test_immediate_autodelete(self, acfactory, lp):
ac1 = acfactory.get_online_configuring_account()
ac2 = acfactory.get_online_configuring_account(mvbox=False, move=False, sentbox=False)