TestRedisCache¶
-
class
tests.test_cache.TestRedisCache(methodName='runTest')[source]¶ RedisCacheTest cases for caching related functions/classes inprivex.helpers.cacheThis is simply a child class for
TestMemoryCache- but with an overriddensetUpClassto ensure the cache adapter is set toRedisCachefor 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 |