Skip to content

Commit 06170dc

Browse files
authored
Fixed Redis error in the smoke tests: "Possible SECURITY ATTACK detected" (#413)
1 parent ea7c842 commit 06170dc

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

tests/conftest.py

-14
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,7 @@
33
import pytest
44
from celery import Celery
55

6-
from pytest_celery import ALL_CELERY_BROKERS
7-
from pytest_celery import CELERY_LOCALSTACK_BROKER
86
from pytest_celery import LOCALSTACK_CREDS
9-
from pytest_celery import CeleryTestBroker
10-
from pytest_celery import _is_vendor_installed
11-
12-
if _is_vendor_installed("localstack"):
13-
ALL_CELERY_BROKERS.add(CELERY_LOCALSTACK_BROKER)
14-
15-
16-
@pytest.fixture(params=ALL_CELERY_BROKERS)
17-
def celery_broker(request: pytest.FixtureRequest) -> CeleryTestBroker: # type: ignore
18-
broker: CeleryTestBroker = request.getfixturevalue(request.param)
19-
yield broker
20-
broker.teardown()
217

228

239
@pytest.fixture

0 commit comments

Comments
 (0)