Module Expr Str Import alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias ImportFrom alias alias alias FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad NameLoad keyword NameLoad Assert CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad keyword NameLoad Assert CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Assert CompareIn Call NameLoad Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Assert CompareIn Call NameLoad Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Str keyword NameLoad Assert CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Str Assert CompareIn Call NameLoad Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad keyword Str Assert CompareIn Call NameLoad Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad keyword Str Assert CompareIn Call NameLoad Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad keyword Str Assert CompareIn Call NameLoad Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Str Str Assert CompareIn Call NameLoad Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Str Str Assert CompareIn Call NameLoad Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad Assert CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Assert CompareIn Call NameLoad Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Assert CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Assert CompareIn Call NameLoad Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body For NameStore TupleLoad Str Str body Expr Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareIn Str AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Assert CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Assert CompareIn Call NameLoad Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body For NameStore TupleLoad Str Str body Expr Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Assert CompareIn Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Assert CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assert CompareEq SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Num Assert CompareIn Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad keyword Str Assert CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Index Str Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad Assert CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Index Str Assign NameStore Dict Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Assert CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareEq Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Dict Str Str Assert CompareEq Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Dict Str BinOpMod Str Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Assert CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Dict Assert CompareIn Str AttributeLoad NameLoad attr Assert CompareIn Str AttributeLoad NameLoad attr Assert CompareEq Str SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Dict Str BinOpMod Str Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Assert CompareIn Str AttributeLoad NameLoad attr Assert CompareIn Str AttributeLoad NameLoad attr Assert CompareEq Str SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Dict Str BinOpMod Str Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Assert CompareIn Str AttributeLoad NameLoad attr Assert CompareIn Str AttributeLoad NameLoad attr Assert CompareEq Str SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Dict Str BinOpMod Str Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Assert CompareIn Str AttributeLoad NameLoad attr Assert CompareIn Str AttributeLoad NameLoad attr Assert CompareEq Str SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Dict Str BinOpMod Str Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Assert CompareIn Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Dict Str BinOpMod Str Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Assert CompareIn Str AttributeLoad NameLoad attr Assert CompareIn Str AttributeLoad NameLoad attr Assert CompareEq Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr Str Print AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Index Str Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad Assert CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad NameLoad With Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareNotIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Num keyword Str keyword Str keyword NameLoad keyword NameLoad keyword Str keyword NameLoad keyword NameLoad keyword Str keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword Dict Str NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareNotIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Index Str Assign NameStore BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Dict Str Str Assert CompareIn Str AttributeLoad NameLoad attr decorator_list
N/A N/A 
    test_common
    ~~~~~~~~~~~

    Test common functionality
 N/A base64 N/A N/A cookielib Cookie N/A N/A N/A ImportError N/A http.cookiejar Cookie utils authenticate json_authenticate logout test_login_view N/A N/A client N/A N/A N/A response N/A N/A client get /login N/A N/A <h1>Login</h1> N/A response data N/A test_authenticate N/A N/A client N/A N/A N/A response N/A authenticate client N/A N/A N/A response status_code 302 N/A response N/A authenticate client follow_redirects True N/A N/A Hello matt@lp.com N/A response data N/A test_authenticate_with_next N/A N/A client N/A N/A N/A data N/A dict email matt@lp.com password password N/A response N/A N/A client post /login?next=/page1 data data follow_redirects True N/A N/A Page 1 N/A response data N/A test_authenticate_with_invalid_next N/A N/A client get_message N/A N/A N/A data N/A dict email matt@lp.com password password N/A response N/A N/A client post /login?next=http://google.com data data N/A N/A N/A get_message INVALID_REDIRECT N/A response data N/A test_authenticate_with_invalid_malformed_next N/A N/A client get_message N/A N/A N/A data N/A dict email matt@lp.com password password N/A response N/A N/A client post /login?next=http:///google.com data data N/A N/A N/A get_message INVALID_REDIRECT N/A response data N/A test_authenticate_case_insensitive_email N/A N/A app client N/A N/A N/A response N/A authenticate client MATT@lp.com follow_redirects True N/A N/A Hello matt@lp.com N/A response data N/A test_unprovided_username N/A N/A client get_message N/A N/A N/A response N/A authenticate client N/A N/A N/A get_message EMAIL_NOT_PROVIDED N/A response data N/A test_unprovided_password N/A N/A client get_message N/A N/A N/A response N/A authenticate client password N/A N/A N/A get_message PASSWORD_NOT_PROVIDED N/A response data N/A test_invalid_user N/A N/A client get_message N/A N/A N/A response N/A authenticate client email bogus@bogus.com N/A N/A N/A get_message USER_DOES_NOT_EXIST N/A response data N/A test_bad_password N/A N/A client get_message N/A N/A N/A response N/A authenticate client password bogus N/A N/A N/A get_message INVALID_PASSWORD N/A response data N/A test_inactive_user N/A N/A client get_message N/A N/A N/A response N/A authenticate client tiya@lp.com password N/A N/A N/A get_message DISABLED_ACCOUNT N/A response data N/A test_unset_password N/A N/A client get_message N/A N/A N/A response N/A authenticate client jess@lp.com password N/A N/A N/A get_message PASSWORD_NOT_SET N/A response data N/A test_logout N/A N/A client N/A N/A N/A N/A authenticate client N/A response N/A logout client follow_redirects True N/A N/A Home Page N/A response data N/A test_missing_session_access N/A N/A client get_message N/A N/A N/A response N/A N/A client get /profile follow_redirects True N/A N/A N/A get_message LOGIN N/A response data N/A test_has_session_access N/A N/A client N/A N/A N/A N/A authenticate client N/A response N/A N/A client get /profile follow_redirects True N/A N/A profile N/A response data N/A test_authorized_access N/A N/A client N/A N/A N/A N/A authenticate client N/A response N/A N/A client get /admin N/A N/A Admin Page N/A response data N/A test_unauthorized_access N/A N/A client get_message N/A N/A N/A N/A authenticate client joe@lp.com N/A response N/A N/A client get /admin follow_redirects True N/A N/A N/A get_message UNAUTHORIZED N/A response data N/A test_roles_accepted N/A N/A client N/A N/A N/A user N/A matt@lp.com joe@lp.com N/A N/A N/A authenticate client user N/A response N/A N/A client get /admin_or_editor N/A N/A Admin or Editor Page N/A response data N/A N/A logout client N/A N/A authenticate client jill@lp.com N/A response N/A N/A client get /admin_or_editor follow_redirects True N/A N/A Home Page N/A response data N/A test_unauthenticated_role_required N/A N/A client get_message N/A N/A N/A response N/A N/A client get /admin follow_redirects True N/A N/A N/A get_message UNAUTHORIZED N/A response data N/A test_multiple_role_required N/A N/A client N/A N/A N/A user N/A matt@lp.com joe@lp.com N/A N/A N/A authenticate client user N/A response N/A N/A client get /admin_and_editor follow_redirects True N/A N/A Home Page N/A response data N/A N/A N/A client get /logout N/A N/A authenticate client dave@lp.com N/A response N/A N/A client get /admin_and_editor follow_redirects True N/A N/A Admin and Editor Page N/A response data N/A test_ok_json_auth N/A N/A client N/A N/A N/A response N/A json_authenticate client N/A N/A N/A N/A N/A response jdata N/A meta N/A code 200 N/A N/A authentication_token N/A N/A N/A response jdata N/A response N/A user N/A test_invalid_json_auth N/A N/A client N/A N/A N/A response N/A json_authenticate client password junk N/A N/A "code": 400 N/A response data N/A test_token_auth_via_querystring_valid_token N/A N/A client N/A N/A N/A response N/A json_authenticate client N/A token N/A N/A N/A N/A response jdata N/A response N/A user N/A authentication_token N/A response N/A N/A client get N/A /token?auth_token= token N/A N/A Token Authentication N/A response data N/A test_token_auth_via_header_valid_token N/A N/A client N/A N/A N/A response N/A json_authenticate client N/A token N/A N/A N/A N/A response jdata N/A response N/A user N/A authentication_token N/A headers N/A Authentication-Token token N/A response N/A N/A client get /token headers headers N/A N/A Token Authentication N/A response data N/A test_token_auth_via_querystring_invalid_token N/A N/A client N/A N/A N/A response N/A N/A client get /token?auth_token=X N/A N/A 401 N/A response status_code N/A test_token_auth_via_header_invalid_token N/A N/A client N/A N/A N/A response N/A N/A client get /token headers N/A Authentication-Token X N/A N/A 401 N/A response status_code N/A test_http_auth N/A N/A client N/A N/A N/A response N/A N/A client get /http headers N/A Authorization N/A Basic %s N/A N/A N/A N/A base64 b64encode joe@lp.com:password decode utf-8 N/A N/A HTTP Authentication N/A response data N/A test_http_auth_no_authorization N/A N/A client N/A N/A N/A response N/A N/A client get /http headers N/A N/A N/A <h1>Unauthorized</h1> N/A response data N/A N/A WWW-Authenticate N/A response headers N/A N/A Basic realm="Login Required" N/A N/A response headers N/A WWW-Authenticate N/A test_invalid_http_auth_invalid_username N/A N/A client N/A N/A N/A response N/A N/A client get /http headers N/A Authorization N/A Basic %s N/A N/A N/A N/A base64 b64encode bogus:bogus decode utf-8 N/A N/A <h1>Unauthorized</h1> N/A response data N/A N/A WWW-Authenticate N/A response headers N/A N/A Basic realm="Login Required" N/A N/A response headers N/A WWW-Authenticate N/A test_invalid_http_auth_bad_password N/A N/A client N/A N/A N/A response N/A N/A client get /http headers N/A Authorization N/A Basic %s N/A N/A N/A N/A base64 b64encode joe@lp.com:bogus decode utf-8 N/A N/A <h1>Unauthorized</h1> N/A response data N/A N/A WWW-Authenticate N/A response headers N/A N/A Basic realm="Login Required" N/A N/A response headers N/A WWW-Authenticate N/A test_custom_http_auth_realm N/A N/A client N/A N/A N/A response N/A N/A client get /http_custom_realm headers N/A Authorization N/A Basic %s N/A N/A N/A N/A base64 b64encode joe@lp.com:bogus decode utf-8 N/A N/A <h1>Unauthorized</h1> N/A response data N/A N/A WWW-Authenticate N/A response headers N/A N/A Basic realm="My Realm" N/A N/A response headers N/A WWW-Authenticate N/A test_multi_auth_basic N/A N/A client N/A N/A N/A response N/A N/A client get /multi_auth headers N/A Authorization N/A Basic %s N/A N/A N/A N/A base64 b64encode joe@lp.com:password decode utf-8 N/A N/A Basic N/A response data N/A response N/A N/A client get /multi_auth N/A N/A N/A response status_code 401 N/A test_multi_auth_basic_invalid N/A N/A client N/A N/A N/A response N/A N/A client get /multi_auth headers N/A Authorization N/A Basic %s N/A N/A N/A N/A base64 b64encode bogus:bogus decode utf-8 N/A N/A <h1>Unauthorized</h1> N/A response data N/A N/A WWW-Authenticate N/A response headers N/A N/A Basic realm="Login Required" N/A N/A response headers N/A WWW-Authenticate N/A response N/A N/A client get /multi_auth N/A N/A response headers N/A N/A N/A response status_code 401 N/A test_multi_auth_token N/A N/A client N/A N/A N/A response N/A json_authenticate client N/A token N/A N/A N/A N/A response jdata N/A response N/A user N/A authentication_token N/A response N/A N/A client get N/A /multi_auth?auth_token= token N/A N/A Token N/A response data N/A test_multi_auth_session N/A N/A client N/A N/A N/A N/A authenticate client N/A response N/A N/A client get /multi_auth N/A N/A Session N/A response data N/A test_user_deleted_during_session_reverts_to_anonymous_user N/A N/A app client N/A N/A N/A N/A authenticate client N/A N/A N/A app test_request_context / N/A N/A user N/A N/A N/A N/A app security datastore find_user email matt@lp.com N/A N/A N/A N/A N/A app security datastore delete_user user N/A N/A N/A N/A N/A app security datastore commit N/A response N/A N/A client get / N/A N/A Hello matt@lp.com N/A response data N/A test_remember_token N/A N/A client N/A N/A N/A response N/A authenticate client follow_redirects False N/A N/A N/A N/A client cookie_jar clear_session_cookies N/A response N/A N/A client get /profile N/A N/A profile N/A response data N/A test_token_loader_does_not_fail_with_invalid_token N/A N/A client N/A N/A N/A c N/A Cookie version 0 name remember_token value None port None port_specified False domain www.example.com domain_specified False domain_initial_dot False path / path_specified True secure False expires None discard True comment None comment_url None rest N/A HttpOnly None rfc2109 False N/A N/A N/A N/A client cookie_jar set_cookie c N/A response N/A N/A client get / N/A N/A BadSignature N/A response data N/A test_sending_auth_token_with_json N/A N/A client N/A N/A N/A response N/A json_authenticate client N/A token N/A N/A N/A N/A response jdata N/A response N/A user N/A authentication_token N/A data N/A {"auth_token": "%s"} token N/A response N/A N/A client post /token data data headers N/A Content-Type application/json N/A N/A Token Authentication N/A response data N/A