fix examples

This commit is contained in:
holger krekel
2022-05-03 13:40:10 +02:00
parent f5157392b6
commit 45157f79a3
2 changed files with 14 additions and 14 deletions

View File

@@ -22,7 +22,7 @@ def test_echo_quit_plugin(acfactory, lp):
botproc = acfactory.run_bot_process(echo_and_quit)
lp.sec("creating a temp account to contact the bot")
ac1 = acfactory.get_one_online_account()
ac1, = acfactory.get_online_accounts(1)
lp.sec("sending a message to the bot")
bot_contact = ac1.create_contact(botproc.addr)