TestRedisCache¶
-
class
tests.test_cache.
TestRedisCache
(methodName='runTest')[source]¶ RedisCache
Test cases for caching related functions/classes inprivex.helpers.cache
This is simply a child class for
TestMemoryCache
- but with an overriddensetUpClass
to ensure the cache adapter is set toRedisCache
for this re-run.-
__init__
(methodName='runTest') Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
-
Methods¶
Methods
Set the current cache adapter to an instance of RedisCache() and make it available through |