| 299 | """add an account and start its configure process.""" |
| 300 | |
| 301 | class PendingTracker: |
| 302 | @account_hookimpl |
| 303 | def ac_configure_completed(this, success: bool, comment: Optional[str]) -> None: |
| 304 | self._configured_events.put((account, success, comment)) |
| 305 | |
| 306 | account.add_account_plugin(PendingTracker(), name="pending_tracker") |
| 307 | self._account2state[account] = self.CONFIGURING |
no outgoing calls