diff --git a/src/sakia/tests/functional/process_cfg_account/test_add_account.py b/src/sakia/tests/functional/process_cfg_account/test_add_account.py index 8e7c5dc90512d03558e414eee0e4aa88c58a4187..dfc91fc6109a8d9ea884657b396f6bce42f6fdde 100644 --- a/src/sakia/tests/functional/process_cfg_account/test_add_account.py +++ b/src/sakia/tests/functional/process_cfg_account/test_add_account.py @@ -86,7 +86,7 @@ class ProcessAddCommunity(unittest.TestCase, QuamashTest): self.assertEqual(self.application.current_account.name, "test") self.assertEqual(self.application.preferences['account'], "test") self.assertEqual(len(self.application.current_account.wallets), 1) - yield from asyncio.sleep(0) + await asyncio.sleep(0) self.lp.call_later(10, close_dialog) asyncio.ensure_future(exec_test())