mirror of
https://github.com/chatmail/core.git
synced 2026-04-06 15:42:10 +03:00
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:
committed by
holger krekel
parent
d35cf7d6a2
commit
dad6381519
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user