mirror of
https://github.com/chatmail/core.git
synced 2026-04-26 18:06:35 +03:00
api: Rename add_transport() -> add_or_update_transport() (#6800)
cc @nicodh
This commit is contained in:
@@ -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.add_transport.future({"addr": addr, "password": password})
|
||||
future = account.add_or_update_transport.future({"addr": addr, "password": password})
|
||||
while True:
|
||||
event = account.wait_for_event()
|
||||
if event.kind == EventType.ACCOUNTS_ITEM_CHANGED:
|
||||
|
||||
Reference in New Issue
Block a user