run_bot_process: remove account from _accounts before starting the bot

Otherwise wait_configure_and_start_io() will start account, and it will
operate on the same database as the bot.
This commit is contained in:
Alexander Krotov
2020-06-12 22:14:31 +03:00
committed by holger krekel
parent d35cf7d6a2
commit dad6381519

View File

@@ -359,6 +359,10 @@ def acfactory(pytestconfig, tmpdir, request, session_liveconfig, data):
bot_ac, bot_cfg = self.get_online_config()
# Avoid starting ac so we don't interfere with the bot operating on
# the same database.
self._accounts.remove(bot_ac)
args = [
sys.executable,
"-u",