1
0
Fork 0
mirror of https://github.com/deltachat/deltachat-core.git synced 2025-10-04 10:19:16 +02:00

emit and look for DC_EVENT_(SMTP|IMAP)_CONNECTED events which are INFO events so that we can also for other events convert the C-code easily (just use "dc_log_event" instead of "dc_log_info")

This commit is contained in:
holger krekel 2018-09-08 14:06:16 +02:00
parent 1c77187d5a
commit 3265178d31
9 changed files with 51 additions and 13 deletions

View file

@ -34,6 +34,7 @@ def acfactory(pytestconfig, tmpdir, request):
configdict = self.configlist.pop(0)
tmpdb = tmpdir.join("testdb%d" % self.count)
ac = Account(tmpdb.strpath)
ac._evlogger.set_timeout(10)
ac.set_config(**configdict)
if started:
ac.start()