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 Mar 13, 2024
1 parent 78ad392 commit bf95fee
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions queue_job/jobrunner/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit bf95fee

Please sign in to comment.