Module Import alias ImportFrom alias alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore NameLoad 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 AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Num Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Num Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Num Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad ListLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Num Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad ListLoad TupleLoad Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Num Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad TupleLoad Str Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptStore AttributeLoad NameLoad attr Index Str TupleLoad Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryFinally body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr finalbody Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore BinOpSub Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn AttributeLoad NameLoad attr TupleLoad Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr CompareIn NameLoad TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad keyword Num Assign NameStore BinOpSub Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn AttributeLoad NameLoad attr TupleLoad Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr CompareIn NameLoad TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Call AttributeLoad NameLoad attr Call NameLoad keyword Num Assign NameStore BinOpSub Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn AttributeLoad NameLoad attr TupleLoad Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr CompareIn NameLoad TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body TryFinally body TryExcept body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler body Raise finalbody Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call NameLoad BinOpAdd NameLoad AttributeLoad NameLoad attr attr Return Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad decorator_list Assign NameStore Dict Str Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict Str Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Dict Str Num AttributeLoad NameLoad attr Delete AttributeDel AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Num decorator_list decorator_list ClassDef bases NameLoad NameLoad body Assign NameStore NameLoad decorator_list ClassDef bases NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr decorator_list decorator_list ClassDef bases NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call NameLoad attr Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call NameLoad attr Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Index Str decorator_list decorator_list
N/A N/A base64 datetime datetime timedelta N/A pickle N/A shutil N/A tempfile django.conf settings django.contrib.sessions.backends.db SessionStore DatabaseSession django.contrib.sessions.backends.cache SessionStore CacheSession django.contrib.sessions.backends.cached_db SessionStore CacheDBSession django.contrib.sessions.backends.file SessionStore FileSession django.contrib.sessions.models Session django.contrib.sessions.middleware SessionMiddleware django.core.exceptions ImproperlyConfigured SuspiciousOperation django.http HttpResponse django.test TestCase RequestFactory django.utils unittest django.utils.hashcompat md5_constructor SessionTestsMixin N/A object N/A N/A backend None setUp N/A N/A self N/A N/A N/A N/A self session N/A N/A self backend N/A tearDown N/A N/A self N/A N/A N/A N/A N/A N/A self session delete N/A test_new_session N/A N/A self N/A N/A N/A N/A N/A self assertFalse N/A N/A self session modified N/A N/A N/A self assertFalse N/A N/A self session accessed N/A test_get_empty N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A self session get cat None N/A test_store N/A N/A self N/A N/A N/A N/A N/A self session N/A cat dog N/A N/A N/A self assertTrue N/A N/A self session modified N/A N/A N/A self assertEqual N/A N/A N/A self session pop cat dog N/A test_pop N/A N/A self N/A N/A N/A N/A N/A self session N/A some key exists N/A N/A self accessed False N/A N/A self modified False N/A N/A N/A self assertEqual N/A N/A N/A self session pop some key exists N/A N/A N/A self assertTrue N/A N/A self session accessed N/A N/A N/A self assertTrue N/A N/A self session modified N/A N/A N/A self assertEqual N/A N/A N/A self session get some key None N/A test_pop_default N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A self session pop some key does not exist does not exist N/A N/A N/A self assertTrue N/A N/A self session accessed N/A N/A N/A self assertFalse N/A N/A self session modified N/A test_setdefault N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A self session setdefault foo bar bar N/A N/A N/A self assertEqual N/A N/A N/A self session setdefault foo baz bar N/A N/A N/A self assertTrue N/A N/A self session accessed N/A N/A N/A self assertTrue N/A N/A self session modified N/A test_update N/A N/A self N/A N/A N/A N/A N/A N/A self session update N/A update key 1 N/A N/A N/A self assertTrue N/A N/A self session accessed N/A N/A N/A self assertTrue N/A N/A self session modified N/A N/A N/A self assertEqual N/A N/A N/A self session get update key None 1 N/A test_has_key N/A N/A self N/A N/A N/A N/A N/A self session N/A some key 1 N/A N/A N/A self session modified False N/A N/A N/A self session accessed False N/A N/A N/A self assertTrue N/A N/A N/A self session has_key some key N/A N/A N/A self assertTrue N/A N/A self session accessed N/A N/A N/A self assertFalse N/A N/A self session modified N/A test_values N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A self session values N/A N/A N/A N/A self assertTrue N/A N/A self session accessed N/A N/A N/A self session N/A some key 1 N/A N/A N/A self assertEqual N/A N/A N/A self session values N/A 1 N/A test_iterkeys N/A N/A self N/A N/A N/A N/A N/A self session N/A x 1 N/A N/A N/A self session modified False N/A N/A N/A self session accessed False N/A i N/A N/A N/A self session iterkeys N/A N/A N/A self assertTrue N/A hasattr i __iter__ N/A N/A N/A self assertTrue N/A N/A self session accessed N/A N/A N/A self assertFalse N/A N/A self session modified N/A N/A N/A self assertEqual N/A list i N/A x N/A test_itervalues N/A N/A self N/A N/A N/A N/A N/A self session N/A x 1 N/A N/A N/A self session modified False N/A N/A N/A self session accessed False N/A i N/A N/A N/A self session itervalues N/A N/A N/A self assertTrue N/A hasattr i __iter__ N/A N/A N/A self assertTrue N/A N/A self session accessed N/A N/A N/A self assertFalse N/A N/A self session modified N/A N/A N/A self assertEqual N/A list i N/A 1 N/A test_iteritems N/A N/A self N/A N/A N/A N/A N/A self session N/A x 1 N/A N/A N/A self session modified False N/A N/A N/A self session accessed False N/A i N/A N/A N/A self session iteritems N/A N/A N/A self assertTrue N/A hasattr i __iter__ N/A N/A N/A self assertTrue N/A N/A self session accessed N/A N/A N/A self assertFalse N/A N/A self session modified N/A N/A N/A self assertEqual N/A list i N/A N/A x 1 N/A test_clear N/A N/A self N/A N/A N/A N/A N/A self session N/A x 1 N/A N/A N/A self session modified False N/A N/A N/A self session accessed False N/A N/A N/A self assertEqual N/A N/A N/A self session items N/A N/A x 1 N/A N/A N/A N/A self session clear N/A N/A N/A self assertEqual N/A N/A N/A self session items N/A N/A N/A N/A self assertTrue N/A N/A self session accessed N/A N/A N/A self assertTrue N/A N/A self session modified N/A test_save N/A N/A self N/A N/A N/A N/A N/A N/A self session save N/A N/A N/A self assertTrue N/A N/A N/A self session exists N/A N/A self session session_key N/A test_delete N/A N/A self N/A N/A N/A N/A N/A N/A self session delete N/A N/A self session session_key N/A N/A N/A self assertFalse N/A N/A N/A self session exists N/A N/A self session session_key N/A test_flush N/A N/A self N/A N/A N/A N/A N/A self session N/A foo bar N/A N/A N/A N/A self session save N/A prev_key N/A N/A self session session_key N/A N/A N/A N/A self session flush N/A N/A N/A self assertFalse N/A N/A N/A self session exists prev_key N/A N/A N/A self assertNotEqual N/A N/A self session session_key prev_key N/A N/A N/A self assertTrue N/A N/A self session modified N/A N/A N/A self assertTrue N/A N/A self session accessed N/A test_cycle N/A N/A self N/A N/A N/A N/A N/A N/A self session N/A a N/A N/A self session N/A b N/A c d N/A N/A N/A N/A self session save N/A prev_key N/A N/A self session session_key N/A prev_data N/A N/A N/A self session items N/A N/A N/A N/A self session cycle_key N/A N/A N/A self assertNotEqual N/A N/A self session session_key prev_key N/A N/A N/A self assertEqual N/A N/A N/A self session items prev_data N/A test_invalid_key N/A N/A self N/A N/A N/A N/A N/A session N/A N/A self backend 1 N/A N/A N/A session save N/A N/A N/A self assertNotEqual N/A session session_key 1 N/A N/A N/A self assertEqual N/A N/A session get cat None N/A N/A N/A session delete N/A N/A N/A N/A session delete 1 N/A test_default_expiry N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A self session get_expiry_age N/A settings SESSION_COOKIE_AGE N/A N/A N/A N/A self session set_expiry 0 N/A N/A N/A self assertEqual N/A N/A N/A self session get_expiry_age N/A settings SESSION_COOKIE_AGE N/A test_custom_expiry_seconds N/A N/A self N/A N/A N/A N/A N/A N/A self session set_expiry 10 N/A delta N/A N/A N/A N/A self session get_expiry_date N/A N/A datetime now N/A N/A N/A self assertTrue N/A N/A delta seconds N/A 9 10 N/A age N/A N/A N/A self session get_expiry_age N/A N/A N/A self assertTrue N/A age N/A 9 10 N/A test_custom_expiry_timedelta N/A N/A self N/A N/A N/A N/A N/A N/A self session set_expiry N/A timedelta seconds 10 N/A delta N/A N/A N/A N/A self session get_expiry_date N/A N/A datetime now N/A N/A N/A self assertTrue N/A N/A delta seconds N/A 9 10 N/A age N/A N/A N/A self session get_expiry_age N/A N/A N/A self assertTrue N/A age N/A 9 10 N/A test_custom_expiry_datetime N/A N/A self N/A N/A N/A N/A N/A N/A self session set_expiry N/A N/A N/A datetime now N/A timedelta seconds 10 N/A delta N/A N/A N/A N/A self session get_expiry_date N/A N/A datetime now N/A N/A N/A self assertTrue N/A N/A delta seconds N/A 9 10 N/A age N/A N/A N/A self session get_expiry_age N/A N/A N/A self assertTrue N/A age N/A 9 10 N/A test_custom_expiry_reset N/A N/A self N/A N/A N/A N/A N/A N/A self session set_expiry None N/A N/A N/A N/A self session set_expiry 10 N/A N/A N/A N/A self session set_expiry None N/A N/A N/A self assertEqual N/A N/A N/A self session get_expiry_age N/A settings SESSION_COOKIE_AGE N/A test_get_expire_at_browser_close N/A N/A self N/A N/A N/A N/A N/A N/A N/A original_expire_at_browser_close N/A settings SESSION_EXPIRE_AT_BROWSER_CLOSE N/A N/A settings SESSION_EXPIRE_AT_BROWSER_CLOSE False N/A N/A N/A N/A self session set_expiry 10 N/A N/A N/A self assertFalse N/A N/A N/A self session get_expire_at_browser_close N/A N/A N/A N/A self session set_expiry 0 N/A N/A N/A self assertTrue N/A N/A N/A self session get_expire_at_browser_close N/A N/A N/A N/A self session set_expiry None N/A N/A N/A self assertFalse N/A N/A N/A self session get_expire_at_browser_close N/A N/A settings SESSION_EXPIRE_AT_BROWSER_CLOSE True N/A N/A N/A N/A self session set_expiry 10 N/A N/A N/A self assertFalse N/A N/A N/A self session get_expire_at_browser_close N/A N/A N/A N/A self session set_expiry 0 N/A N/A N/A self assertTrue N/A N/A N/A self session get_expire_at_browser_close N/A N/A N/A N/A self session set_expiry None N/A N/A N/A self assertTrue N/A N/A N/A self session get_expire_at_browser_close N/A N/A N/A N/A N/A N/A N/A settings SESSION_EXPIRE_AT_BROWSER_CLOSE original_expire_at_browser_close N/A test_decode N/A N/A self N/A N/A N/A data N/A a test key a test value N/A encoded N/A N/A N/A self session encode data N/A N/A N/A self assertEqual N/A N/A N/A self session decode encoded data N/A test_decode_django12 N/A N/A self N/A N/A encode N/A N/A session_dict N/A N/A N/A pickled N/A N/A pickle dumps session_dict N/A pickle HIGHEST_PROTOCOL N/A pickled_md5 N/A N/A N/A md5_constructor N/A pickled N/A settings SECRET_KEY hexdigest N/A N/A N/A base64 encodestring N/A pickled pickled_md5 N/A N/A data N/A a test key a test value N/A encoded N/A encode data N/A N/A N/A self assertEqual N/A N/A N/A self session decode encoded data N/A N/A DatabaseSessionTests N/A SessionTestsMixin TestCase N/A N/A backend DatabaseSession test_session_get_decoded N/A N/A self N/A N/A N/A 
        Test we can use Session.get_decoded to retrieve data stored
        in normal way
         N/A N/A N/A self session N/A x 1 N/A N/A N/A N/A self session save N/A s N/A N/A N/A Session objects get session_key N/A N/A self session session_key N/A N/A N/A self assertEqual N/A N/A s get_decoded N/A x 1 N/A test_sessionmanager_save N/A N/A self N/A N/A N/A 
        Test SessionManager.save method
         N/A N/A N/A self session N/A y 1 N/A N/A N/A N/A self session save N/A s N/A N/A N/A Session objects get session_key N/A N/A self session session_key N/A N/A N/A N/A Session objects save N/A s session_key N/A y 2 N/A s expire_date N/A N/A N/A self session _session_cache N/A N/A N/A self assertEqual N/A N/A self session N/A y 2 N/A N/A CacheDBSessionTests N/A SessionTestsMixin TestCase N/A N/A backend CacheDBSession N/A FileSessionTests N/A SessionTestsMixin N/A unittest TestCase N/A N/A backend FileSession setUp N/A N/A self N/A N/A N/A N/A N/A N/A super FileSessionTests self setUp N/A N/A self original_session_file_path N/A settings SESSION_FILE_PATH N/A N/A self temp_session_store N/A settings SESSION_FILE_PATH N/A N/A tempfile mkdtemp N/A tearDown N/A N/A self N/A N/A N/A N/A settings SESSION_FILE_PATH N/A self original_session_file_path N/A N/A N/A shutil rmtree N/A self temp_session_store N/A N/A N/A N/A super FileSessionTests self tearDown N/A test_configuration_check N/A N/A self N/A N/A N/A N/A settings SESSION_FILE_PATH /if/this/directory/exists/you/have/a/weird/computer N/A N/A N/A self assertRaises ImproperlyConfigured N/A self backend N/A test_invalid_key_backslash N/A N/A self N/A N/A N/A N/A N/A self assertRaises SuspiciousOperation N/A N/A N/A self backend a\b\c load N/A test_invalid_key_forwardslash N/A N/A self N/A N/A N/A N/A N/A self assertRaises SuspiciousOperation N/A N/A N/A self backend a/b/c load N/A N/A CacheSessionTests N/A SessionTestsMixin N/A unittest TestCase N/A N/A backend CacheSession N/A SessionMiddlewareTests N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self old_SESSION_COOKIE_SECURE N/A settings SESSION_COOKIE_SECURE N/A N/A self old_SESSION_COOKIE_HTTPONLY N/A settings SESSION_COOKIE_HTTPONLY N/A tearDown N/A N/A self N/A N/A N/A N/A settings SESSION_COOKIE_SECURE N/A self old_SESSION_COOKIE_SECURE N/A N/A settings SESSION_COOKIE_HTTPONLY N/A self old_SESSION_COOKIE_HTTPONLY N/A test_secure_session_cookie N/A N/A self N/A N/A N/A N/A settings SESSION_COOKIE_SECURE True N/A request N/A N/A N/A RequestFactory get / N/A response N/A HttpResponse Session test N/A middleware N/A SessionMiddleware N/A N/A N/A middleware process_request request N/A N/A N/A request session N/A hello world N/A response N/A N/A middleware process_response request response N/A N/A N/A self assertTrue N/A N/A N/A response cookies N/A N/A settings SESSION_COOKIE_NAME N/A secure N/A test_httponly_session_cookie N/A N/A self N/A N/A N/A N/A settings SESSION_COOKIE_HTTPONLY True N/A request N/A N/A N/A RequestFactory get / N/A response N/A HttpResponse Session test N/A middleware N/A SessionMiddleware N/A N/A N/A middleware process_request request N/A N/A N/A request session N/A hello world N/A response N/A N/A middleware process_response request response N/A N/A N/A self assertTrue N/A N/A N/A response cookies N/A N/A settings SESSION_COOKIE_NAME N/A httponly N/A N/A