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

make send and receive message test work, add some events

This commit is contained in:
holger krekel 2018-09-08 16:29:58 +02:00
parent 3265178d31
commit 4f5ded880e
8 changed files with 79 additions and 27 deletions

View file

@ -33,7 +33,8 @@ def acfactory(pytestconfig, tmpdir, request):
def get_live_account(self, started=True):
configdict = self.configlist.pop(0)
tmpdb = tmpdir.join("testdb%d" % self.count)
ac = Account(tmpdb.strpath)
ac = Account(tmpdb.strpath, _logid="ac{}".format(self.count+1))
self.count += 1
ac._evlogger.set_timeout(10)
ac.set_config(**configdict)
if started: