Module Import alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad ListLoad Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr Str NameLoad decorator_list Call AttributeLoad NameLoad attr Str decorator_list ClassDef bases NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad decorator_list ClassDef bases NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad decorator_list Call AttributeLoad NameLoad attr UnaryOpNot Call NameLoad Str Str ClassDef bases NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num decorator_list decorator_list Call AttributeLoad NameLoad attr UnaryOpNot Call NameLoad Str Str
N/A N/A unittest unittest mock thumbnails.cache_backends BaseCacheBackend DjangoCacheBackend RedisCacheBackend SimpleCacheBackend thumbnails.images Thumbnail utils has_installed CacheBackendTestMixin N/A object N/A setUp N/A N/A self N/A N/A N/A N/A self backend N/A N/A self BACKEND N/A test_get_empty N/A N/A self N/A N/A N/A N/A N/A self assertIsNone N/A N/A N/A self backend get not-in-cache N/A test_set_and_get N/A N/A self N/A N/A N/A thumbnail N/A Thumbnail N/A n ame N/A N/A N/A N/A self backend set thumbnail N/A cached_thumbnail N/A N/A N/A self backend get N/A thumbnail name N/A N/A N/A self assertIsInstance cached_thumbnail Thumbnail N/A N/A N/A self assertEqual N/A cached_thumbnail name N/A thumbnail name N/A N/A BaseCacheBackendTestCase N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self backend N/A BaseCacheBackend N/A test_init N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self backend TIMEOUT 31536000 N/A test_get_calls_backend_specific_get N/A N/A self mock__get N/A N/A N/A N/A N/A N/A self backend get N/A hi there N/A N/A N/A N/A self backend get key N/A N/A N/A mock__get assert_has_calls N/A N/A N/A mock call hi/there N/A N/A mock call key N/A N/A N/A mock patch thumbnails.cache_backends.BaseCacheBackend._get test_set_calls_backend_specific_set N/A N/A self mock__set N/A N/A N/A thumbnail N/A Thumbnail N/A hi there N/A N/A N/A N/A self backend set thumbnail N/A N/A N/A mock__set assert_has_calls N/A N/A N/A mock call hi/there thumbnail N/A N/A N/A mock patch thumbnails.cache_backends.BaseCacheBackend._set N/A SimpleCacheBackendTestCase N/A CacheBackendTestMixin N/A unittest TestCase N/A N/A BACKEND SimpleCacheBackend N/A DjangoCacheBackendTestCase N/A CacheBackendTestMixin N/A unittest TestCase N/A N/A BACKEND DjangoCacheBackend N/A N/A N/A unittest skipIf N/A N/A has_installed django Django is not installed RedisCacheBackendTestCase N/A CacheBackendTestMixin N/A unittest TestCase N/A N/A BACKEND RedisCacheBackend test_get_settings N/A N/A self N/A N/A N/A settings N/A N/A N/A self backend get_settings N/A N/A N/A self assertEqual N/A settings N/A host 127.0.0.1 N/A N/A N/A self assertEqual N/A settings N/A port 6379 N/A N/A N/A self assertEqual N/A settings N/A db 0 N/A N/A N/A self backend connection_uri redis://example.com:1234/9 N/A settings N/A N/A N/A self backend get_settings N/A N/A N/A self assertEqual N/A settings N/A host example.com N/A N/A N/A self assertEqual N/A settings N/A port 1234 N/A N/A N/A self assertEqual N/A settings N/A db 9 N/A N/A N/A N/A unittest skipIf N/A N/A has_installed redis Redis not installed