Skip to content

Commit ed67255

Browse files
authored
Bugfix: node.config() didn't allow overriding (#247)
1 parent 824f112 commit ed67255

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pytest_celery/api/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def ready(self) -> bool:
262262

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

0 commit comments

Comments
 (0)