Skip to content

Commit

Permalink
Fixed Redis error in the smoke tests: "Possible SECURITY ATTACK detec…
Browse files Browse the repository at this point in the history
…ted"
  • Loading branch information
Nusnus committed Sep 17, 2024
1 parent ea7c842 commit ae4b16b
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,7 @@
import pytest
from celery import Celery

from pytest_celery import ALL_CELERY_BROKERS
from pytest_celery import CELERY_LOCALSTACK_BROKER
from pytest_celery import LOCALSTACK_CREDS
from pytest_celery import CeleryTestBroker
from pytest_celery import _is_vendor_installed

if _is_vendor_installed("localstack"):
ALL_CELERY_BROKERS.add(CELERY_LOCALSTACK_BROKER)


@pytest.fixture(params=ALL_CELERY_BROKERS)
def celery_broker(request: pytest.FixtureRequest) -> CeleryTestBroker: # type: ignore
broker: CeleryTestBroker = request.getfixturevalue(request.param)
yield broker
broker.teardown()


@pytest.fixture
Expand Down

0 comments on commit ae4b16b

Please sign in to comment.