mirror of
https://github.com/deltachat/deltachat-core.git
synced 2025-10-04 10:19:16 +02:00
make _logid a public argument, critique from @flub accepted
This commit is contained in:
parent
49040f4e92
commit
25a2cdb301
2 changed files with 9 additions and 9 deletions
|
@ -34,7 +34,7 @@ def acfactory(pytestconfig, tmpdir, request):
|
|||
def get_offline_account(self):
|
||||
self.offline_count += 1
|
||||
tmpdb = tmpdir.join("offlinedb%d" % self.offline_count)
|
||||
ac = Account(tmpdb.strpath, _logid="ac{}".format(self.offline_count))
|
||||
ac = Account(tmpdb.strpath, logid="ac{}".format(self.offline_count))
|
||||
ac._evlogger.set_timeout(2)
|
||||
return ac
|
||||
|
||||
|
@ -42,7 +42,7 @@ def acfactory(pytestconfig, tmpdir, request):
|
|||
self.live_count += 1
|
||||
configdict = self.configlist.pop(0)
|
||||
tmpdb = tmpdir.join("livedb%d" % self.live_count)
|
||||
ac = Account(tmpdb.strpath, _logid="ac{}".format(self.live_count))
|
||||
ac = Account(tmpdb.strpath, logid="ac{}".format(self.live_count))
|
||||
ac._evlogger.set_timeout(10)
|
||||
ac.set_config(**configdict)
|
||||
if started:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue