From bf95feebf5f35f1ad278ece79df002e9d87e3ee6 Mon Sep 17 00:00:00 2001 From: Alexander Pashuk Date: Wed, 13 Mar 2024 13:00:04 +0100 Subject: [PATCH] Remove doctest from get_db_names method to avoid issues with Odoo.sh --- queue_job/jobrunner/runner.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/queue_job/jobrunner/runner.py b/queue_job/jobrunner/runner.py index 671eebace4..47417caa4f 100644 --- a/queue_job/jobrunner/runner.py +++ b/queue_job/jobrunner/runner.py @@ -398,12 +398,6 @@ def from_environ_or_config(cls): return runner def get_db_names(self): - """ - >>> runner = QueueJobRunner() - >>> config["db_name"] = None - >>> runner.get_db_names() - ['odoo'] - """ if config["db_name"]: db_names = config["db_name"].split(",") else: