mirror of
https://github.com/chatmail/core.git
synced 2026-04-06 07:32:12 +03:00
improve connection management
This commit is contained in:
@@ -310,13 +310,16 @@ def acfactory(pytestconfig, tmpdir, request, session_liveconfig, data):
|
||||
ac1 = self.get_online_configuring_account(
|
||||
pre_generated_key=pre_generated_key, mvbox=mvbox, move=move)
|
||||
ac1.wait_configure_finish()
|
||||
ac1.start()
|
||||
return ac1
|
||||
|
||||
def get_two_online_accounts(self, move=False, quiet=False):
|
||||
ac1 = self.get_online_configuring_account(move=True, quiet=quiet)
|
||||
ac2 = self.get_online_configuring_account(quiet=quiet)
|
||||
ac1.wait_configure_finish()
|
||||
ac1.start()
|
||||
ac2.wait_configure_finish()
|
||||
ac2.start()
|
||||
return ac1, ac2
|
||||
|
||||
def clone_online_account(self, account, pre_generated_key=True):
|
||||
|
||||
Reference in New Issue
Block a user