Skip to content

Commit

Permalink
Removed memcached backend from default celery setup matrix - to be us…
Browse files Browse the repository at this point in the history
…ed manually
  • Loading branch information
Nusnus committed Oct 31, 2023
1 parent 97b04f4 commit b667505
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/pytest_celery/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,14 @@
# Fixtures collections
######################

# These collections define which components are used by
# pytest-celery by default. If not specified otherwise, the
# user's tests will have a matrix of all possible combinations automatically

ALL_CELERY_WORKERS = (CELERY_SETUP_WORKER,)
ALL_CELERY_BACKENDS = (
CELERY_REDIS_BACKEND,
CELERY_MEMCACHED_BACKEND,
# CELERY_MEMCACHED_BACKEND, # Beta support at the moment, to be used manually
)
ALL_CELERY_BROKERS = (
CELERY_REDIS_BROKER,
Expand Down
3 changes: 3 additions & 0 deletions tests/smoke/test_canvas.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,6 @@ def test_chord(self, celery_setup: CeleryTestSetup):
)
res = sig.apply_async(queue=queue)
assert res.get(timeout=RESULT_TIMEOUT) == ["body_task"] * 3

def test_replace(self, celery_setup: CeleryTestSetup):
pytest.skip("Not implemented")

0 comments on commit b667505

Please sign in to comment.