Module Import alias Import alias Import alias FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad NameLoad Call AttributeLoad NameLoad attr Dict Str Str decorator_list Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Num Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword NameLoad keyword Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str ListLoad Str Index Num If CompareEq NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str BinOpMod Str AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad keyword Dict Str Str NameLoad Str keyword NameLoad keyword Num Return SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list Assign NameStore ListLoad Str Str Str Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Call NameLoad Str Assign NameStore Call NameLoad NameLoad Assign NameStore Str For NameStore NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str SubscriptLoad NameLoad Index Num keyword NameLoad Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr If CompareIn NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str Call NameLoad NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Str decorator_list Expr Call AttributeLoad NameLoad attr Str keyword Dict Str NameLoad Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str keyword Dict Str Str Str Str keyword Dict Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword AttributeLoad NameLoad attr Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str keyword Dict Str Str NameLoad Str keyword Dict Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword AttributeLoad NameLoad attr Expr Call NameLoad Str Assign NameStore Call NameLoad Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword Dict Str NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Str Str Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad With Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str keyword Dict Str NameLoad Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Call NameLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Expr Call AttributeLoad NameLoad attr Str keyword Dict Str Str Str Str Str Str Str Dict Str Str Str Str Str NameLoad keyword Dict Str Str Expr Call AttributeLoad NameLoad attr Str keyword Dict Str Str Str Str Str Str Str Dict Str Str Str Str Str Str keyword Dict Str Str Expr Call AttributeLoad NameLoad attr Str keyword Dict Str Str Str Str Str Str Str Dict Str Str Str Str Str NameLoad Expr Call AttributeLoad NameLoad attr Str With Call AttributeLoad NameLoad attr Str body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Call NameLoad Str If Call AttributeLoad NameLoad attr keyword Call NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str decorator_list Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str keyword Dict Str Str NameLoad NameLoad Expr Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Str With Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str keyword Dict Str Str NameLoad NameLoad Expr Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Expr Call AttributeLoad NameLoad attr Str keyword Dict Str Str Str Str Str Str Str Dict Str Str Str Str Str NameLoad Expr Call AttributeLoad NameLoad attr Str With Call AttributeLoad NameLoad attr Str body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Call NameLoad Str If UnaryOpNot Call AttributeLoad NameLoad attr keyword Call NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str decorator_list Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str keyword Dict Str Str NameLoad NameLoad Expr Call NameLoad Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr keyword ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad
N/A N/A re N/A urllib N/A urlparse externalauthURL N/A N/A name N/A N/A N/A N/A externalauth/%s?%s N/A name N/A N/A urllib urlencode N/A target / N/A N/A with_class N/A N/A testing expect with_class isprefix N/A N/A expected actual N/A N/A N/A N/A N/A actual startswith expected N/A issuffix N/A N/A expected actual N/A N/A N/A N/A N/A actual endswith expected N/A expect_system_mail N/A N/A subject N/A N/A N/A system_mail N/A N/A mailbox pop N/A N/A N/A testing mailbox ToRecipient system@example.org N/A N/A N/A N/A testing expect check subject N/A N/A N/A N/A system_mail headers N/A subject N/A 0 N/A value N/A start_externalauth N/A N/A name N/A N/A N/A response N/A N/A frontend page N/A externalauthURL name disable_redirects True expected_http_status 302 N/A redirect_url N/A N/A response headers N/A Location N/A N/A N/A N/A testing expect check https://example.com/authorize? redirect_url equal isprefix N/A parsed_url N/A N/A urlparse urlparse redirect_url N/A parsed_query N/A N/A urlparse parse_qs N/A parsed_url query N/A state N/A N/A N/A parsed_query get state N/A no state received N/A 0 N/A N/A state no state received N/A N/A N/A N/A N/A testing expect check <state parameter in authorize URI query> N/A <no state parameter: %r> N/A parsed_url query N/A state N/A finish_externalauth N/A N/A name state N/A N/A N/A response N/A N/A frontend page N/A oauth/ name params N/A state code state correct disable_redirects True expected_http_status 302 N/A N/A N/A response headers N/A Location N/A N/A NAMES N/A alice carol felix gina oauth_links N/A N/A document N/A N/A N/A providers N/A N/A document findAll div attrs N/A with_class provider N/A names N/A set NAMES N/A expected_text Sign in using your  N/A provider providers N/A N/A N/A N/A N/A testing expect check expected_text N/A N/A provider contents N/A 0 N/A expected_text or  N/A link N/A N/A provider find a N/A words N/A N/A N/A link string split N/A N/A N/A N/A testing expect check 2 N/A len words N/A N/A N/A N/A testing expect check account N/A words N/A -1 equal issuffix N/A name N/A N/A N/A words N/A 0 lower N/A N/A name names N/A N/A N/A N/A N/A testing expect check N/A / N/A externalauthURL name N/A link N/A href N/A N/A N/A names remove name N/A N/A N/A N/A N/A testing logger error N/A Unexpected provider: %r name N/A names N/A N/A N/A N/A N/A testing expect check N/A <link to providers: %r> names <no links found> N/A N/A N/A N/A frontend page login expect N/A oauth links oauth_links N/A state N/A start_externalauth alice N/A N/A N/A frontend page oauth/alice params N/A state code not the right state irrelevant expect N/A message N/A N/A N/A testing expect message Authentication failed Invalid OAuth state body_equal N/A re search N/A N/A expect_system_mail wsgi: InvalidRequest: Invalid OAuth state: not the right state N/A N/A N/A frontend page oauth/alice params N/A state code state incorrect expect N/A message N/A N/A N/A testing expect message Authentication failed Incorrect code body_equal N/A re search N/A N/A expect_system_mail wsgi: Failure: Incorrect code N/A redirect_url N/A finish_externalauth alice state N/A message_check N/A N/A N/A testing expect message User registration not enabled None N/A N/A N/A frontend page redirect_url expect N/A message message_check N/A N/A N/A instance criticctl N/A connect --name alice --provider alice --account account-alice N/A state N/A start_externalauth alice N/A redirect_url N/A finish_externalauth alice state N/A N/A N/A N/A testing expect check / redirect_url N/A N/A N/A frontend session /oauth/alice N/A N/A document_title_check N/A N/A N/A testing expect document_title Alice von Testing's Home N/A N/A N/A frontend page home expect N/A document title document_title_check N/A state N/A start_externalauth carol N/A redirect_url N/A finish_externalauth carol state N/A N/A N/A N/A testing expect check /createuser? redirect_url equal isprefix N/A parsed_url N/A N/A urlparse urlparse redirect_url N/A parsed_query N/A N/A urlparse parse_qs N/A parsed_url query N/A N/A N/A N/A testing expect check N/A carol N/A N/A parsed_query get provider N/A N/A N/A N/A testing expect check N/A account-carol N/A N/A parsed_query get account N/A N/A N/A N/A testing expect check 1 N/A len N/A N/A parsed_query get token N/A N/A N/A N/A testing expect check N/A / N/A N/A parsed_query get target N/A N/A N/A N/A testing expect check N/A carol N/A N/A parsed_query get username N/A N/A N/A N/A testing expect check N/A carol@example.org N/A N/A parsed_query get email N/A N/A N/A N/A testing expect check N/A Carol von Testing N/A N/A parsed_query get fullname N/A token N/A N/A N/A parsed_query get token N/A 0 N/A N/A N/A frontend operation registeruser data N/A username fullname email external carol Carol von Testing carol@example.org N/A provider account token carol wrong-carol token expect N/A message Invalid external authentication state. N/A N/A N/A frontend operation registeruser data N/A username fullname email external carol Carol von Testing carol@example.org N/A provider account token carol account-carol wrong token expect N/A message Invalid external authentication state. N/A N/A N/A frontend operation registeruser data N/A username fullname email external carol Carol von Testing carol@example.org N/A provider account token carol account-carol token N/A N/A N/A instance registeruser carol N/A N/A N/A frontend session /registeruser N/A email_not_unverified N/A N/A document N/A N/A N/A address N/A N/A document find attrs N/A with_class address N/A N/A N/A address find attrs N/A with_class unverified N/A N/A N/A N/A N/A testing expect check <carol's email is not unverified> <carol's email is unverified> N/A N/A document_title_check N/A N/A N/A testing expect document_title Carol von Testing's Home N/A N/A N/A frontend page home expect N/A document title email not unverified document_title_check email_not_unverified N/A N/A expect_system_mail wsgi[registeruser]: User 'carol' registered N/A state N/A start_externalauth felix N/A redirect_url N/A finish_externalauth felix state N/A N/A N/A instance registeruser felix N/A N/A N/A frontend session /oauth/felix N/A N/A document_title_check N/A N/A N/A testing expect document_title Felix von Testing's Home N/A N/A N/A frontend page home expect N/A document title email not unverified document_title_check email_not_unverified N/A N/A expect_system_mail wsgi[oauth/felix]: User 'felix' registered N/A state N/A start_externalauth gina N/A redirect_url N/A finish_externalauth gina state N/A N/A N/A N/A testing expect check /createuser? redirect_url equal isprefix N/A parsed_url N/A N/A urlparse urlparse redirect_url N/A parsed_query N/A N/A urlparse parse_qs N/A parsed_url query N/A token N/A N/A N/A parsed_query get token N/A 0 N/A N/A N/A frontend operation registeruser data N/A username fullname email external gina Gina von Testing gina@example.org N/A provider account token gina account-gina token N/A N/A N/A instance registeruser gina N/A N/A N/A frontend session /registeruser N/A email_unverified N/A N/A document N/A N/A N/A address N/A N/A document find attrs N/A with_class address N/A N/A N/A N/A address find attrs N/A with_class unverified N/A N/A N/A N/A N/A testing expect check <carol's email unverified> <carol's email is not unverified> N/A N/A document_title_check N/A N/A N/A testing expect document_title Gina von Testing's Home N/A N/A N/A frontend page home expect N/A document title email unverified document_title_check email_unverified N/A N/A expect_system_mail wsgi[registeruser]: User 'gina' registered N/A subject \[Critic\] Please verify your email: gina@example\.org N/A N/A N/A mailbox pop accept N/A N/A N/A N/A testing mailbox ToRecipient gina@example.org N/A N/A N/A testing mailbox WithSubject subject