From b667505a21b508cc7095b2a8b5774ad7d1c29c23 Mon Sep 17 00:00:00 2001 From: Tomer Nosrati Date: Tue, 31 Oct 2023 16:56:14 +0200 Subject: [PATCH] Removed memcached backend from default celery setup matrix - to be used manually --- src/pytest_celery/defaults.py | 6 +++++- tests/smoke/test_canvas.py | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/pytest_celery/defaults.py b/src/pytest_celery/defaults.py index f041bafc..c76b8a86 100644 --- a/src/pytest_celery/defaults.py +++ b/src/pytest_celery/defaults.py @@ -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, diff --git a/tests/smoke/test_canvas.py b/tests/smoke/test_canvas.py index 9e77d8a0..324865e6 100644 --- a/tests/smoke/test_canvas.py +++ b/tests/smoke/test_canvas.py @@ -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")