Skip to content

Commit

Permalink
Remove doctest from get_db_names method to avoid issues with Odoo.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderPashuk authored Dec 14, 2023
1 parent 1fd463f commit 0f041e2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions queue_job/jobrunner/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0f041e2

Please sign in to comment.