From 4c7dcf7eb08883a90e23e9433ed08b4ba1a95453 Mon Sep 17 00:00:00 2001 From: Alexander Pashuk Date: Thu, 14 Dec 2023 16:32:17 +0100 Subject: [PATCH] Remove doctest from get_db_names method to avoid issues with Odoo.sh --- queue_job/jobrunner/runner.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/queue_job/jobrunner/runner.py b/queue_job/jobrunner/runner.py index 1e0b07d445..25823a9973 100644 --- a/queue_job/jobrunner/runner.py +++ b/queue_job/jobrunner/runner.py @@ -398,13 +398,6 @@ def from_environ_or_config(cls): return runner def get_db_names(self): - """ - >>> runner = QueueJobRunner() - >>> config["db_name"] = None - >>> config["list_db"] = False - >>> runner.get_db_names() - ['odoo'] - """ if config["db_name"]: db_names = config["db_name"].split(",") else: