mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 19:21:06 -03: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)
|
||||
return response
|
||||
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