Module ImportFrom alias alias Import alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Assign NameStore ListComp Call NameLoad comprehension NameStore Call NameLoad Num Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Assign NameStore Dict Str Str Str Call NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Str attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Assign NameStore NameLoad Assign NameStore Call NameLoad TryExcept body Raise Call NameLoad Str handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad keyword Call NameLoad keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad keyword NameLoad keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str If CompareGtE AttributeLoad NameLoad attr TupleLoad Num Num body Assign AttributeStore AttributeLoad NameLoad attr attr Str orelse Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str TryFinally body ImportFrom alias ImportFrom alias identifier Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad finalbody Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body TryExcept body ImportFrom alias ImportFrom alias handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Return TryExcept body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str TryFinally body ImportFrom alias Assign NameStore Str Assign NameStore Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad NameLoad finalbody Assign AttributeStore NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad decorator_list decorator_list
N/A __future__ absolute_import unicode_literals N/A sys datetime timedelta billiard.einfo ExceptionInfo N/A django django.core.cache.backends.base InvalidCacheBackendError celery result celery states celery.utils gen_unique_id djcelery.app app djcelery.backends.cache CacheBackend djcelery.tests.utils unittest SomeClass N/A object N/A __init__ N/A N/A self data N/A N/A N/A N/A self data data N/A N/A test_CacheBackend N/A N/A unittest TestCase N/A test_mark_as_done N/A N/A self N/A N/A N/A cb N/A CacheBackend app app N/A tid N/A gen_unique_id N/A N/A N/A self assertEqual N/A N/A cb get_status tid N/A states PENDING N/A N/A N/A self assertIsNone N/A N/A cb get_result tid N/A N/A N/A cb mark_as_done tid 42 N/A N/A N/A self assertEqual N/A N/A cb get_status tid N/A states SUCCESS N/A N/A N/A self assertEqual N/A N/A cb get_result tid 42 N/A N/A N/A self assertTrue N/A N/A cb get_result tid 42 N/A test_forget N/A N/A self N/A N/A N/A b N/A CacheBackend app app N/A tid N/A gen_unique_id N/A N/A N/A b mark_as_done tid N/A foo bar N/A N/A N/A self assertEqual N/A N/A N/A N/A b get_result tid get foo bar N/A N/A N/A b forget tid N/A N/A N/A self assertNotIn tid N/A b _cache N/A N/A N/A self assertIsNone N/A N/A b get_result tid N/A test_save_restore_delete_group N/A N/A self N/A N/A N/A backend N/A CacheBackend app app N/A group_id N/A gen_unique_id N/A subtask_ids N/A N/A gen_unique_id N/A i N/A range 10 N/A subtasks N/A list N/A map N/A result AsyncResult subtask_ids N/A res N/A N/A result GroupResult group_id subtasks N/A N/A N/A res save backend backend N/A saved N/A N/A N/A result GroupResult restore group_id backend backend N/A N/A N/A self assertListEqual N/A saved subtasks subtasks N/A N/A N/A self assertEqual N/A saved id group_id N/A N/A N/A saved delete backend backend N/A N/A N/A self assertIsNone N/A N/A N/A result GroupResult restore group_id backend backend N/A test_is_pickled N/A N/A self N/A N/A N/A cb N/A CacheBackend app app N/A tid2 N/A gen_unique_id N/A result N/A foo bar baz N/A SomeClass 12345 N/A N/A N/A cb mark_as_done tid2 result N/A rindb N/A N/A cb get_result tid2 N/A N/A N/A self assertEqual N/A N/A rindb get foo baz N/A N/A N/A self assertEqual N/A N/A N/A rindb get bar data 12345 N/A test_mark_as_failure N/A N/A self N/A N/A N/A cb N/A CacheBackend app app N/A einfo None N/A tid3 N/A gen_unique_id N/A N/A N/A N/A KeyError foo N/A N/A N/A KeyError N/A exception N/A N/A einfo N/A ExceptionInfo N/A N/A sys exc_info N/A N/A N/A cb mark_as_failure tid3 exception traceback N/A einfo traceback N/A N/A N/A self assertEqual N/A N/A cb get_status tid3 N/A states FAILURE N/A N/A N/A self assertIsInstance N/A N/A cb get_result tid3 KeyError N/A N/A N/A self assertEqual N/A N/A cb get_traceback tid3 N/A einfo traceback N/A test_process_cleanup N/A N/A self N/A N/A N/A cb N/A CacheBackend app app N/A N/A N/A cb process_cleanup N/A test_set_expires N/A N/A self N/A N/A N/A cb1 N/A CacheBackend app app expires N/A timedelta seconds 16 N/A N/A N/A self assertEqual N/A cb1 expires 16 N/A cb2 N/A CacheBackend app app expires 32 N/A N/A N/A self assertEqual N/A cb2 expires 32 N/A N/A test_custom_CacheBackend N/A N/A unittest TestCase N/A test_custom_cache_backend N/A N/A self N/A N/A celery current_app N/A prev_backend N/A N/A current_app conf CELERY_CACHE_BACKEND N/A prev_module N/A N/A sys modules N/A djcelery.backends.cache N/A N/A N/A django VERSION N/A 1 3 N/A N/A N/A N/A current_app conf CELERY_CACHE_BACKEND django.core.cache.backends.dummy.DummyCache N/A N/A N/A N/A current_app conf CELERY_CACHE_BACKEND dummy:// N/A N/A N/A N/A sys modules pop djcelery.backends.cache N/A N/A djcelery.backends.cache cache django.core.cache cache django_cache N/A N/A N/A self assertEqual N/A N/A cache __class__ __module__ django.core.cache.backends.dummy N/A N/A N/A self assertIsNot cache django_cache N/A N/A N/A N/A current_app conf CELERY_CACHE_BACKEND prev_backend N/A N/A N/A sys modules N/A djcelery.backends.cache prev_module N/A N/A test_MemcacheWrapper N/A N/A unittest TestCase N/A test_memcache_wrapper N/A N/A self N/A N/A N/A N/A django.core.cache.backends memcached django.core.cache.backends locmem N/A N/A N/A InvalidCacheBackendError N/A N/A N/A N/A N/A sys stderr write 
* Memcache library is not installed. Skipping test.
 N/A N/A N/A N/A prev_cache_cls N/A memcached CacheClass N/A N/A memcached CacheClass N/A locmem CacheClass N/A N/A N/A AttributeError N/A N/A N/A prev_backend_module N/A N/A N/A sys modules pop djcelery.backends.cache N/A N/A djcelery.backends.cache cache N/A key cu.test_memcache_wrapper N/A val The quick brown fox. N/A default The lazy dog. N/A N/A N/A self assertEqual N/A N/A cache get key default default default N/A N/A N/A cache set key val N/A N/A N/A self assertEqual N/A N/A cache get key default default val N/A N/A N/A memcached CacheClass prev_cache_cls N/A N/A N/A sys modules N/A djcelery.backends.cache prev_backend_module N/A N/A