mirror of
https://github.com/chatmail/core.git
synced 2026-04-18 22:16:30 +03:00
Always call print_imap_structure when test fails
This commit is contained in:
@@ -95,8 +95,9 @@ def make_direct_imap(account, folder):
|
||||
return imap
|
||||
|
||||
def print_imap_structure(database):
|
||||
ac = Account(database)
|
||||
ac.disable_logging()
|
||||
print_imap_structure_ac(Account(database))
|
||||
|
||||
def print_imap_structure_ac(ac):
|
||||
print("================= ACCOUNT", ac.get_config("addr"), "=================")
|
||||
print("----------------- CONFIG: -----------------")
|
||||
print(ac.get_info())
|
||||
|
||||
Reference in New Issue
Block a user