We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea7c842 commit 06170dcCopy full SHA for 06170dc
tests/conftest.py
@@ -3,21 +3,7 @@
3
import pytest
4
from celery import Celery
5
6
-from pytest_celery import ALL_CELERY_BROKERS
7
-from pytest_celery import CELERY_LOCALSTACK_BROKER
8
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()
21
22
23
@pytest.fixture
0 commit comments