Skip to content

Commit

Permalink
Bugfix: node.config() didn't allow overriding
Browse files Browse the repository at this point in the history
  • Loading branch information
Nusnus committed Mar 17, 2024
1 parent 824f112 commit 54a9aa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pytest_celery/api/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def ready(self) -> bool:

def config(self, *args: tuple, **kwargs: dict) -> dict:
"""Compile the configurations required for Celery from this cluster."""
config = [node.container.celeryconfig for node in self]
config = [node.config() for node in self]
return {
"urls": [c["url"] for c in config],
"host_urls": [c["host_url"] for c in config],
Expand Down

0 comments on commit 54a9aa6

Please sign in to comment.