mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-09 15:40:56 +08:00
Resets SQS conf in case of test failure
This commit is contained in:
@@ -14,6 +14,10 @@ from django_q.tasks import Schedule, fetch, schedule as create_schedule, queue_s
|
||||
|
||||
@pytest.fixture
|
||||
def broker():
|
||||
Conf.DISQUE_NODES = None
|
||||
Conf.IRON_MQ = None
|
||||
Conf.SQS = None
|
||||
Conf.DJANGO_REDIS = 'default'
|
||||
return get_broker()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user