Module Import alias Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Dict Str Str Dict Str NameLoad NameLoad Assert NameLoad Assert CompareEq SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Assign NameStore Call NameLoad NameLoad Assert NameLoad Assert CompareEq Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Assign NameStore Call NameLoad NameLoad Assert CompareEq Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Str Expr Call NameLoad Dict Str Str Dict Str NameLoad NameLoad Assert CompareIs Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list
N/A N/A pytest N/A xfail N/A N/A pytest mark xfail conftest create_user_in_db log_in framework.session get_current_user log_in_user log_out_user models.user User framework.redis redis test_get_current_user N/A N/A users_table db_conn N/A N/A N/A 
    Expect to get the current user given session info.
     N/A N/A create_user_in_db users_table db_conn N/A token N/A log_in N/A user N/A get_current_user N/A cookies db_conn N/A session_id token db_conn N/A user N/A N/A N/A user N/A id abcd1234 N/A test_log_in_user N/A N/A users_table db_conn N/A N/A N/A 
    Expect to log in as a user.
     N/A N/A create_user_in_db users_table db_conn N/A user N/A N/A User get db_conn id abcd1234 N/A token N/A log_in_user user N/A token N/A N/A N/A N/A N/A N/A redis get token decode abcd1234 N/A test_log_out_user N/A N/A users_table db_conn N/A N/A N/A 
    Expect to log out as a user.
     N/A N/A create_user_in_db users_table db_conn N/A user N/A N/A User get db_conn id abcd1234 N/A token N/A log_in_user user N/A N/A N/A N/A N/A N/A redis get token decode abcd1234 N/A N/A log_out_user N/A cookies db_conn N/A session_id token db_conn N/A N/A N/A N/A redis get token None N/A