mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 01:47:35 -02:30
Added redis in-memory fixture for functional tests
This commit is contained in:
@@ -130,3 +130,8 @@ def get():
|
|||||||
middleware.process_response(request, response)
|
middleware.process_response(request, response)
|
||||||
return response
|
return response
|
||||||
return rf
|
return rf
|
||||||
|
|
||||||
|
@pytest.fixture(scope="session", autouse=True)
|
||||||
|
def celery_memory_broker():
|
||||||
|
from django.conf import settings
|
||||||
|
settings.BROKER_URL='memory://localhost/'
|
||||||
|
|||||||
Reference in New Issue
Block a user