x86_64-centos-awx/awx/conf/tests/test_env.py
2021-03-02 20:53:43 +08:00

7 lines
249 B
Python

# 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-')