MCPcopy Create free account
hub / github.com/chatmail/core / wait_one_configured

Method wait_one_configured

python/src/deltachat/testplugin.py:311–320  ·  view source on GitHub ↗

wait until this account has successfully configured.

(self, account)

Source from the content-addressed store, hash-verified

309 self.log("started configure on", account)
310
311 def wait_one_configured(self, account):
312 """wait until this account has successfully configured."""
313 if self._account2state[account] == self.CONFIGURING:
314 while True:
315 acc = self._pop_config_success()
316 if acc == account:
317 break
318 self.init_imap(acc)
319 self.init_logging(acc)
320 acc._evtracker.consume_events()
321
322 def bring_online(self):
323 """Wait for all accounts to become ready to receive messages.

Callers 3

test_basic_statesMethod · 0.95
wait_configuredMethod · 0.80

Calls 4

_pop_config_successMethod · 0.95
init_imapMethod · 0.95
init_loggingMethod · 0.95
consume_eventsMethod · 0.80

Tested by

no test coverage detected