split code

This commit is contained in:
Guilhem Saurel 2021-07-18 16:52:39 +02:00
parent 0c0a42a4c9
commit a974f073c9
4 changed files with 80 additions and 74 deletions

View file

@ -76,7 +76,7 @@ def run_and_test():
# Start the bot, and wait for it
LOGGER.info("Spawning the bot")
bot = Popen(["coverage", "run", "matrix_webhook.py", "-vvvvv"])
bot = Popen(["coverage", "run", "-m", "matrix_webhook", "-vvvvv"])
if not wait_available(BOT_URL, "status"):
return False