mirror of
https://github.com/ansible/awx.git
synced 2026-05-11 11:27:36 -02:30
isolate cache
This commit is contained in:
6
awx/main/tests/test_env.py
Normal file
6
awx/main/tests/test_env.py
Normal file
@@ -0,0 +1,6 @@
|
||||
|
||||
|
||||
# Ensure that our autouse overwrites are working
|
||||
def test_cache(settings):
|
||||
assert settings.CACHES['default']['BACKEND'] == 'django.core.cache.backends.locmem.LocMemCache'
|
||||
assert settings.CACHES['default']['LOCATION'].startswith('unique-')
|
||||
Reference in New Issue
Block a user