From a2f2876e4503029f90d9a1bf314da4242cec76e6 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 4 Dec 2023 15:27:05 +0100 Subject: [PATCH] put RUNNER_DICT in runner.py --- src/runner.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/runner.py b/src/runner.py index 71ca7ed..e4d500e 100644 --- a/src/runner.py +++ b/src/runner.py @@ -7,6 +7,17 @@ from dotenv import dotenv_values from loguru import logger from src.dirmanager import DirManager +from src.tests_authentik.runner_authentik import RunnerAuthentik +from src.tests_nextcloud.runner_nextcloud import RunnerNextcloud +from src.tests_wordpress.runner_wordpress import RunnerWordpress + +# Register all runners here. Each .env file with TYPE=authentik will be run with RunnerAuthentik + +RUNNER_DICT: dict[str, type["Runner"]] = { + "authentik": RunnerAuthentik, + "wordpress": RunnerWordpress, + "nextcloud": RunnerNextcloud, +} @dataclass