mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 13:36:30 +03:00
- remove one unncessary usage of imap idle
- simplify SEEN bytes/unicode flag issue - fix a lint issue and a docstring
This commit is contained in:
@@ -2548,12 +2548,9 @@ class TestOnlineAccount:
|
||||
|
||||
ac2._evtracker.get_info_contains("close/expunge succeeded")
|
||||
|
||||
lp.sec("imap2: test that only one message is left")
|
||||
imap2 = ac2.direct_imap
|
||||
imap2.idle_start()
|
||||
imap2.idle_wait_for_new_message(timeout=600)
|
||||
imap2.idle_done()
|
||||
assert len(imap2.get_all_messages()) == 1
|
||||
lp.sec("ac2: test that only one message is left")
|
||||
ac2.direct_imap.select_config_folder("inbox")
|
||||
assert len(ac2.direct_imap.get_all_messages()) == 1
|
||||
|
||||
def test_configure_error_msgs(self, acfactory):
|
||||
ac1, configdict = acfactory.get_online_config()
|
||||
|
||||
Reference in New Issue
Block a user