Skip to content

Commit 2cc4989

Browse files
authored
Cleanup (#163)
1 parent be39fa0 commit 2cc4989

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

src/pytest_celery/api/setup.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -145,19 +145,6 @@ def create_setup_app(cls, celery_setup_config: dict, celery_setup_app_name: str)
145145

146146
return app
147147

148-
def chords_allowed(self) -> bool:
149-
# TODO: Possibly a not relevant
150-
try:
151-
self.app.backend.ensure_chords_allowed()
152-
except NotImplementedError:
153-
return False
154-
155-
# TODO: Possibly a bug
156-
if any([v.startswith("4.") for v in self.worker_cluster.versions]):
157-
return False
158-
159-
return True
160-
161148
def teardown(self) -> None:
162149
"""Teardown the setup."""
163150

tests/smoke/test_canvas.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from __future__ import annotations
22

3-
import pytest
43
from celery.canvas import chain
54
from celery.canvas import chord
65
from celery.canvas import group
@@ -69,9 +68,6 @@ def test_chain(self, celery_setup: CeleryTestSetup):
6968

7069
def test_chord(self, celery_setup: CeleryTestSetup):
7170
worker: CeleryTestWorker
72-
if not celery_setup.chords_allowed():
73-
pytest.skip("Chords are not supported")
74-
7571
for worker in celery_setup.worker_cluster:
7672
queue = worker.worker_queue
7773

0 commit comments

Comments
 (0)