api(deltachat-rpc-client): add Account.add_transport()

This commit is contained in:
link2xt
2025-04-08 21:30:15 +00:00
parent 175145969c
commit 31cf663f8b
4 changed files with 13 additions and 12 deletions

View File

@@ -17,7 +17,7 @@ def test_event_on_configuration(acfactory: ACFactory) -> None:
account = acfactory.get_unconfigured_account()
account.clear_all_events()
assert not account.is_configured()
future = account._rpc.add_transport.future(account.id, {"addr": addr, "password": password})
future = account.add_transport.future({"addr": addr, "password": password})
while True:
event = account.wait_for_event()
if event.kind == EventType.ACCOUNTS_ITEM_CHANGED: