Added redis in-memory fixture for functional tests

This commit is contained in:
Wayne Witzel III 2016-02-18 09:51:32 -05:00
parent d464ea0f56
commit 30f88b6e30

View File

@ -130,3 +130,8 @@ def get():
middleware.process_response(request, response)
return response
return rf
@pytest.fixture(scope="session", autouse=True)
def celery_memory_broker():
from django.conf import settings
settings.BROKER_URL='memory://localhost/'