mirror of
https://github.com/deltachat/deltachat-core.git
synced 2025-10-04 02:09:17 +02:00
- make set_config() more like the c-version but make configure() accept **kwargs
- some safety checks: you can't modify addr after successful configure
This commit is contained in:
parent
bea807f012
commit
da78552622
3 changed files with 41 additions and 15 deletions
|
@ -50,7 +50,7 @@ def acfactory(pytestconfig, tmpdir, request):
|
|||
tmpdb = tmpdir.join("livedb%d" % self.live_count)
|
||||
ac = Account(tmpdb.strpath, logid="ac{}".format(self.live_count))
|
||||
ac._evlogger.set_timeout(30)
|
||||
ac.set_config(**configdict)
|
||||
ac.configure(**configdict)
|
||||
if started:
|
||||
ac.start()
|
||||
request.addfinalizer(ac.shutdown)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue