Module Import alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body ImportFrom alias Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Str body If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad If CompareIs NameLoad NameLoad body Assign NameStore ListLoad If CompareIs NameLoad NameLoad body Assign NameStore ListLoad If CompareIs NameLoad NameLoad body Assign NameStore ListLoad If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad If CompareIs NameLoad NameLoad body Assign NameStore ListLoad If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad If CompareIs NameLoad NameLoad body Import alias Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body ImportFrom alias Assign NameStore Dict Expr Call NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Call NameLoad Assign NameStore ListLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Call NameLoad Assign NameStore ListLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad keyword Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Call NameLoad Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Call NameLoad Assign NameStore ListLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Import alias Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num TryFinally body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr finalbody Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad TupleLoad Str Str Assign NameStore Call NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad TupleLoad Str Str Assign NameStore Call NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad TupleLoad Str Str Assign NameStore Call NameLoad Str NameLoad Assign NameStore Dict Str Str Str Str Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad TupleLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad TupleLoad Str Str Assign NameStore Call NameLoad Str NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad TupleLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Str attr Call NameLoad NameLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad TupleLoad Str Str Assign NameStore Call NameLoad Str NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad TupleLoad Str NameLoad Assign NameStore Dict Str Str Str Str Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad TupleLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Str attr Call NameLoad NameLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad TupleLoad Str Str Assign NameStore Call NameLoad Str NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad TupleLoad Str NameLoad Assign NameStore Dict Str Str Str Str Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad TupleLoad Str NameLoad Assign NameStore Call NameLoad Assign NameStore ListLoad TupleLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Str attr Call NameLoad NameLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad TupleLoad Str Str Assign NameStore Call NameLoad Str NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad TupleLoad Str NameLoad Assign NameStore Dict Str Str Str Str Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad TupleLoad Str NameLoad Assign NameStore Call NameLoad Assign NameStore ListLoad TupleLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad TupleLoad Str Str Assign NameStore Dict Str Str Str Str Assign NameStore Call NameLoad Str NameLoad NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad TupleLoad Str NameLoad Assign NameStore Dict Str Str Str Str Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad TupleLoad Str NameLoad Assign NameStore Call NameLoad Assign NameStore ListLoad TupleLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad TupleLoad Str Str Assign NameStore Call NameLoad Str NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad TupleLoad Str NameLoad Assign NameStore Dict Str Str Str Str Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad TupleLoad Str NameLoad Assign NameStore Call NameLoad Assign NameStore ListLoad TupleLoad Str NameLoad Assign NameStore Call NameLoad Dict Str Str Assign NameStore ListLoad TupleLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Str decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad TupleLoad Str Str Assign NameStore Call NameLoad Str NameLoad Assign NameStore ListLoad Assign NameStore Dict Str Str Str Str Assign NameStore Call NameLoad NameLoad keyword ListLoad TupleLoad Str Str keyword Call NameLoad Str Assign NameStore ListLoad TupleLoad Str NameLoad Assign NameStore Call NameLoad Assign NameStore ListLoad TupleLoad Str NameLoad Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Str attr Call NameLoad NameLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num TupleLoad Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num TupleLoad Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad TupleLoad Str Str Assign NameStore Call NameLoad Str NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad TupleLoad Str NameLoad Assign NameStore Dict Str Str Str Str Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad TupleLoad Str NameLoad Assign NameStore Call NameLoad Assign NameStore ListLoad TupleLoad Str NameLoad Assign NameStore Call NameLoad Dict Str Str Assign NameStore ListLoad TupleLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Str decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad TupleLoad Str Str Assign NameStore Call NameLoad Str NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad TupleLoad Str NameLoad Assign NameStore Dict Str Str Str Str Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad TupleLoad Str NameLoad Assign NameStore Call NameLoad Assign NameStore ListLoad TupleLoad Str NameLoad Assign NameStore Call NameLoad Dict Str Str Assign NameStore ListLoad TupleLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Str attr Call NameLoad NameLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad TupleLoad Str Str Assign NameStore Call NameLoad Str NameLoad Assign NameStore ListLoad Assign NameStore Dict Str Str Str Str Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad TupleLoad Str NameLoad Assign NameStore Call NameLoad Assign NameStore ListLoad TupleLoad Str NameLoad Assign NameStore Call NameLoad Dict Str Str Assign NameStore ListLoad TupleLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body ImportFrom alias Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Assign NameStore Call Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr ListLoad TupleLoad Str Str Assign AttributeStore NameLoad attr Call NameLoad Str Assign NameStore ListLoad TupleLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num BinOpAdd AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body ImportFrom alias Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad FunctionDef arguments args NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Yield Str Expr Yield Str decorator_list Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body If NameLoad body Expr Yield Str decorator_list Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad ListLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body Expr Yield Str Expr Yield Str decorator_list Assign NameStore Call NameLoad Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad ListLoad Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Import alias TryExcept body Delete SubscriptDel AttributeLoad NameLoad attr Index Str handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body Import alias TryExcept body Delete SubscriptDel AttributeLoad NameLoad attr Index Str handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Import alias Import alias Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str Str Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Return ListLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return ListLoad Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Yield Str decorator_list Return Call NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad ListLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Str Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Str Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return ListLoad Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Return SubscriptLoad NameLoad Index Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Return Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If Call AttributeLoad NameLoad attr Str body Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return ListLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A unittest TestMiddleware N/A N/A unittest TestCase N/A _getTargetClass N/A N/A self N/A N/A repoze.who.middleware PluggableAuthenticationMiddleware N/A PluggableAuthenticationMiddleware N/A _makeOne N/A N/A self app identifiers authenticators challengers request_classifier mdproviders challenge_decider log_stream log_level remote_user_key N/A None None None None None None None None None REMOTE_USER N/A N/A N/A app None N/A N/A app N/A DummyApp N/A N/A identifiers None N/A N/A identifiers N/A N/A N/A authenticators None N/A N/A authenticators N/A N/A N/A challengers None N/A N/A challengers N/A N/A N/A request_classifier None N/A N/A request_classifier N/A DummyRequestClassifier N/A N/A mdproviders None N/A N/A mdproviders N/A N/A N/A challenge_decider None N/A N/A challenge_decider N/A DummyChallengeDecider N/A N/A log_level None N/A N/A logging N/A log_level N/A logging DEBUG N/A mw N/A N/A N/A self _getTargetClass app identifiers authenticators challengers mdproviders request_classifier challenge_decider log_stream log_level N/A logging DEBUG remote_user_key remote_user_key N/A mw N/A _makeEnviron N/A N/A self kw N/A None N/A wsgiref.util setup_testing_defaults N/A environ N/A N/A N/A setup_testing_defaults environ N/A N/A kw None N/A N/A N/A N/A environ update kw N/A environ N/A test_ctor_positional_args N/A N/A self N/A N/A N/A klass N/A N/A self _getTargetClass N/A app N/A DummyApp N/A identifiers N/A N/A authenticators N/A N/A challengers N/A N/A request_classifier N/A DummyRequestClassifier N/A mdproviders N/A N/A challenge_decider N/A DummyChallengeDecider N/A mw N/A klass app identifiers authenticators challengers mdproviders request_classifier challenge_decider N/A N/A N/A self assertEqual N/A mw app app N/A af N/A mw api_factory N/A N/A N/A self assertEqual N/A af identifiers identifiers N/A N/A N/A self assertEqual N/A af authenticators authenticators N/A N/A N/A self assertEqual N/A af challengers challengers N/A N/A N/A self assertEqual N/A af mdproviders mdproviders N/A N/A N/A self assertEqual N/A af request_classifier request_classifier N/A N/A N/A self assertEqual N/A af challenge_decider challenge_decider N/A test_ctor_wo_request_classifier_or_classifier_raises N/A N/A self N/A N/A N/A klass N/A N/A self _getTargetClass N/A app N/A DummyApp N/A identifiers N/A N/A authenticators N/A N/A challengers N/A N/A mdproviders N/A N/A challenge_decider N/A DummyChallengeDecider N/A N/A N/A self assertRaises ValueError klass app identifiers authenticators challengers mdproviders challenge_decider challenge_decider N/A test_ctor_w_request_classifier_and_classifier_raises N/A N/A self N/A N/A N/A klass N/A N/A self _getTargetClass N/A app N/A DummyApp N/A identifiers N/A N/A authenticators N/A N/A challengers N/A N/A request_classifier N/A DummyRequestClassifier N/A mdproviders N/A N/A challenge_decider N/A DummyChallengeDecider N/A N/A N/A self assertRaises ValueError klass app identifiers authenticators challengers mdproviders request_classifier challenge_decider classifier N/A object N/A test_ctor_wo_challenge_decider_raises N/A N/A self N/A N/A N/A klass N/A N/A self _getTargetClass N/A app N/A DummyApp N/A identifiers N/A N/A authenticators N/A N/A challengers N/A N/A request_classifier N/A DummyRequestClassifier N/A mdproviders N/A N/A N/A N/A self assertRaises ValueError klass app identifiers authenticators challengers mdproviders classifier request_classifier N/A test_ctor_w_classifier N/A N/A self N/A N/A N/A klass N/A N/A self _getTargetClass N/A app N/A DummyApp N/A identifiers N/A N/A authenticators N/A N/A challengers N/A N/A request_classifier N/A DummyRequestClassifier N/A mdproviders N/A N/A challenge_decider N/A DummyChallengeDecider N/A mw N/A klass app identifiers authenticators challengers mdproviders classifier request_classifier challenge_decider challenge_decider N/A N/A N/A self assertEqual N/A mw app app N/A af N/A mw api_factory N/A N/A N/A self assertEqual N/A af identifiers identifiers N/A N/A N/A self assertEqual N/A af authenticators authenticators N/A N/A N/A self assertEqual N/A af challengers challengers N/A N/A N/A self assertEqual N/A af mdproviders mdproviders N/A N/A N/A self assertEqual N/A af request_classifier request_classifier N/A N/A N/A self assertEqual N/A af challenge_decider challenge_decider N/A test_ctor_accepts_logger N/A N/A self N/A N/A N/A logging N/A restore N/A logging raiseExceptions N/A N/A logging raiseExceptions 0 N/A N/A N/A logger N/A N/A logging Logger something N/A N/A N/A logger setLevel N/A logging INFO N/A mw N/A N/A self _makeOne log_stream logger N/A N/A N/A self assertEqual logger N/A mw logger N/A N/A N/A logging raiseExceptions restore N/A test_call_remoteuser_already_set N/A N/A self N/A N/A N/A environ N/A N/A self _makeEnviron N/A REMOTE_USER admin N/A mw N/A N/A self _makeOne N/A result N/A mw environ None N/A N/A N/A self assertEqual N/A N/A mw app environ environ N/A N/A N/A self assertEqual result N/A N/A test_call_200_no_plugins N/A N/A self N/A N/A N/A environ N/A N/A self _makeEnviron N/A headers N/A N/A a 1 N/A app N/A DummyWorkingApp 200 OK headers N/A mw N/A N/A self _makeOne app app N/A start_response N/A DummyStartResponse N/A result N/A mw environ start_response N/A N/A N/A self assertEqual N/A N/A mw app environ environ N/A N/A N/A self assertEqual result N/A body N/A N/A N/A self assertEqual N/A start_response status 200 OK N/A N/A N/A self assertEqual N/A start_response headers headers N/A test_call_401_no_challengers N/A N/A self N/A N/A N/A environ N/A N/A self _makeEnviron N/A headers N/A N/A a 1 N/A app N/A DummyWorkingApp 401 Unauthorized headers N/A mw N/A N/A self _makeOne app app N/A start_response N/A DummyStartResponse N/A N/A N/A self assertRaises RuntimeError mw environ start_response N/A test_call_200_no_challengers N/A N/A self N/A N/A N/A environ N/A N/A self _makeEnviron N/A headers N/A N/A a 1 N/A app N/A DummyWorkingApp 200 OK headers N/A credentials N/A login password chris password N/A identifier N/A DummyIdentifier credentials N/A identifiers N/A N/A identifier identifier N/A mw N/A N/A self _makeOne app app identifiers identifiers N/A start_response N/A DummyStartResponse N/A result N/A mw environ start_response N/A N/A N/A self assertEqual N/A N/A mw app environ environ N/A N/A N/A self assertEqual result N/A body N/A N/A N/A self assertEqual N/A start_response status 200 OK N/A N/A N/A self assertEqual N/A start_response headers headers N/A test_call_401_no_identifiers N/A N/A self N/A N/A webob.exc HTTPUnauthorized N/A environ N/A N/A self _makeEnviron N/A headers N/A N/A a 1 N/A app N/A DummyWorkingApp 401 Unauthorized headers N/A challenge_app N/A HTTPUnauthorized N/A challenge N/A DummyChallenger challenge_app N/A challengers N/A N/A challenge challenge N/A mw N/A N/A self _makeOne app app challengers challengers N/A start_response N/A DummyStartResponse N/A result N/A N/A N/A N/A join N/A mw environ start_response decode ascii N/A N/A N/A self assertEqual N/A environ N/A challenged challenge_app N/A N/A N/A self assertTrue N/A N/A result startswith 401 Unauthorized N/A test_call_401_challenger_and_identifier_no_authenticator N/A N/A self N/A N/A webob.exc HTTPUnauthorized N/A environ N/A N/A self _makeEnviron N/A headers N/A N/A a 1 N/A app N/A DummyWorkingApp 401 Unauthorized headers N/A challenge_app N/A HTTPUnauthorized N/A challenge N/A DummyChallenger challenge_app N/A challengers N/A N/A challenge challenge N/A credentials N/A login password a b N/A identifier N/A DummyIdentifier credentials N/A identifiers N/A N/A identifier identifier N/A mw N/A N/A self _makeOne app app challengers challengers identifiers identifiers N/A start_response N/A DummyStartResponse N/A result N/A N/A N/A N/A join N/A mw environ start_response decode ascii N/A N/A N/A self assertEqual N/A environ N/A challenged challenge_app N/A N/A N/A self assertTrue N/A N/A result startswith 401 Unauthorized N/A N/A N/A self assertEqual N/A identifier forgotten False N/A N/A N/A self assertEqual N/A N/A environ get REMOTE_USER None N/A test_call_401_challenger_and_identifier_and_authenticator N/A N/A self N/A N/A webob.exc HTTPUnauthorized N/A environ N/A N/A self _makeEnviron N/A headers N/A N/A a 1 N/A app N/A DummyWorkingApp 401 Unauthorized headers N/A challenge_app N/A HTTPUnauthorized N/A challenge N/A DummyChallenger challenge_app N/A challengers N/A N/A challenge challenge N/A credentials N/A login password chris password N/A identifier N/A DummyIdentifier credentials N/A identifiers N/A N/A identifier identifier N/A authenticator N/A DummyAuthenticator N/A authenticators N/A N/A authenticator authenticator N/A mw N/A N/A self _makeOne app app challengers challengers identifiers identifiers authenticators authenticators N/A start_response N/A DummyStartResponse N/A result N/A N/A N/A N/A join N/A mw environ start_response decode ascii N/A N/A N/A self assertEqual N/A environ N/A challenged challenge_app N/A N/A N/A self assertTrue N/A N/A result startswith 401 Unauthorized N/A N/A N/A self assertEqual N/A environ N/A REMOTE_USER chris N/A test_call_200_challenger_and_identifier_and_authenticator N/A N/A self N/A N/A webob.exc HTTPUnauthorized N/A environ N/A N/A self _makeEnviron N/A headers N/A N/A a 1 N/A app N/A DummyWorkingApp 200 OK headers N/A challenge_app N/A HTTPUnauthorized N/A challenge N/A DummyChallenger challenge_app N/A challengers N/A N/A challenge challenge N/A credentials N/A login password chris password N/A identifier N/A DummyIdentifier credentials N/A identifiers N/A N/A identifier identifier N/A authenticator N/A DummyAuthenticator N/A authenticators N/A N/A authenticator authenticator N/A mw N/A N/A self _makeOne app app challengers challengers identifiers identifiers authenticators authenticators N/A start_response N/A DummyStartResponse N/A result N/A mw environ start_response N/A N/A N/A self assertEqual N/A N/A environ get challenged None N/A N/A N/A self assertEqual N/A identifier forgotten False N/A N/A N/A self assertEqual N/A environ N/A REMOTE_USER chris N/A test_call_200_identity_reset N/A N/A self N/A N/A webob.exc HTTPUnauthorized N/A environ N/A N/A self _makeEnviron N/A headers N/A N/A a 1 N/A new_identity N/A user_id password foo bar N/A app N/A DummyIdentityResetApp 200 OK headers new_identity N/A challenge_app N/A HTTPUnauthorized N/A challenge N/A DummyChallenger challenge_app N/A challengers N/A N/A challenge challenge N/A credentials N/A login password chris password N/A identifier N/A DummyIdentifier credentials N/A identifiers N/A N/A identifier identifier N/A authenticator N/A DummyAuthenticator N/A authenticators N/A N/A authenticator authenticator N/A mw N/A N/A self _makeOne app app challengers challengers identifiers identifiers authenticators authenticators N/A start_response N/A DummyStartResponse N/A result N/A mw environ start_response N/A N/A N/A self assertEqual N/A N/A environ get challenged None N/A N/A N/A self assertEqual N/A identifier forgotten False N/A new_credentials N/A N/A N/A identifier credentials copy N/A N/A new_credentials N/A login fred N/A N/A new_credentials N/A password schooled N/A N/A N/A self assertEqual N/A environ N/A REMOTE_USER chris N/A test_call_200_with_metadata N/A N/A self N/A N/A webob.exc HTTPUnauthorized N/A environ N/A N/A self _makeEnviron N/A headers N/A N/A a 1 N/A app N/A DummyWorkingApp 200 OK headers N/A challenge_app N/A HTTPUnauthorized N/A challenge N/A DummyChallenger challenge_app N/A challengers N/A N/A challenge challenge N/A credentials N/A login password chris password N/A identifier N/A DummyIdentifier credentials N/A identifiers N/A N/A identifier identifier N/A authenticator N/A DummyAuthenticator N/A authenticators N/A N/A authenticator authenticator N/A mdprovider N/A DummyMDProvider N/A foo bar N/A mdproviders N/A N/A mdprovider mdprovider N/A mw N/A N/A self _makeOne app app challengers challengers identifiers identifiers authenticators authenticators mdproviders mdproviders N/A start_response N/A DummyStartResponse N/A result N/A mw environ start_response N/A N/A N/A self assertEqual N/A N/A environ N/A repoze.who.identity N/A foo bar N/A test_call_ingress_plugin_replaces_application N/A N/A self N/A N/A webob.exc HTTPFound N/A environ N/A N/A self _makeEnviron N/A headers N/A N/A a 1 N/A app N/A DummyWorkingApp 200 OK headers N/A challengers N/A N/A credentials N/A login password chris password N/A identifier N/A DummyIdentifier credentials remember_headers N/A N/A a 1 replace_app N/A HTTPFound http://example.com/redirect N/A identifiers N/A N/A identifier identifier N/A authenticator N/A DummyAuthenticator N/A authenticators N/A N/A authenticator authenticator N/A mdproviders N/A N/A mw N/A N/A self _makeOne app app challengers challengers identifiers identifiers authenticators authenticators mdproviders mdproviders N/A start_response N/A DummyStartResponse N/A result N/A N/A N/A N/A join N/A mw environ start_response decode ascii N/A N/A N/A self assertTrue N/A N/A result startswith 302 Found N/A N/A N/A self assertEqual N/A start_response status 302 Found N/A headers N/A start_response headers N/A N/A N/A self assertEqual N/A headers N/A 2 N/A Content-Type text/plain; charset=UTF-8 N/A N/A N/A self assertEqual N/A headers N/A 3 N/A a 1 N/A N/A N/A self assertEqual N/A start_response exc_info None N/A N/A N/A self assertFalse N/A repoze.who.application environ N/A test_call_app_doesnt_call_start_response N/A N/A self N/A N/A webob.exc HTTPUnauthorized N/A environ N/A N/A self _makeEnviron N/A headers N/A N/A a 1 N/A app N/A DummyGeneratorApp 200 OK headers N/A challenge_app N/A HTTPUnauthorized N/A challenge N/A DummyChallenger challenge_app N/A challengers N/A N/A challenge challenge N/A credentials N/A login password chris password N/A identifier N/A DummyIdentifier credentials N/A identifiers N/A N/A identifier identifier N/A authenticator N/A DummyAuthenticator N/A authenticators N/A N/A authenticator authenticator N/A mdprovider N/A DummyMDProvider N/A foo bar N/A mdproviders N/A N/A mdprovider mdprovider N/A mw N/A N/A self _makeOne app app challengers challengers identifiers identifiers authenticators authenticators mdproviders mdproviders N/A start_response N/A DummyStartResponse N/A result N/A mw environ start_response N/A N/A N/A self assertEqual N/A N/A environ N/A repoze.who.identity N/A foo bar N/A test_call_w_challenge_closes_iterable N/A N/A self N/A N/A webob.exc HTTPUnauthorized N/A environ N/A N/A self _makeEnviron N/A headers N/A N/A a 1 N/A app N/A DummyIterableWithCloseApp 401 Unauthorized headers N/A challenge_app N/A HTTPUnauthorized N/A challenge N/A DummyChallenger challenge_app N/A challengers N/A N/A challenge challenge N/A credentials N/A login password chris password N/A identifier N/A DummyIdentifier credentials N/A identifiers N/A N/A identifier identifier N/A authenticator N/A DummyAuthenticator N/A authenticators N/A N/A authenticator authenticator N/A mdprovider N/A DummyMDProvider N/A foo bar N/A mdproviders N/A N/A mdprovider mdprovider N/A mw N/A N/A self _makeOne app app challengers challengers identifiers identifiers authenticators authenticators mdproviders mdproviders N/A start_response N/A DummyStartResponse N/A result N/A N/A N/A N/A join N/A mw environ start_response decode ascii N/A N/A N/A self assertTrue N/A N/A result startswith 401 Unauthorized N/A N/A N/A self assertTrue N/A N/A app _iterable _closed N/A test_call_w_challenge_but_no_challenger_still_closes_iterable N/A N/A self N/A N/A N/A environ N/A N/A self _makeEnviron N/A headers N/A N/A a 1 N/A app N/A DummyIterableWithCloseApp 401 Unauthorized headers N/A challengers N/A N/A credentials N/A login password chris password N/A identifier N/A DummyIdentifier credentials N/A identifiers N/A N/A identifier identifier N/A authenticator N/A DummyAuthenticator N/A authenticators N/A N/A authenticator authenticator N/A mdprovider N/A DummyMDProvider N/A foo bar N/A mdproviders N/A N/A mdprovider mdprovider N/A mw N/A N/A self _makeOne app app challengers challengers identifiers identifiers authenticators authenticators mdproviders mdproviders N/A start_response N/A DummyStartResponse N/A N/A N/A self assertRaises RuntimeError mw environ start_response N/A N/A N/A self assertTrue N/A N/A app _iterable _closed N/A N/A TestStartResponseWrapper N/A N/A unittest TestCase N/A _getTargetClass N/A N/A self N/A N/A repoze.who.middleware StartResponseWrapper N/A StartResponseWrapper N/A _makeOne N/A N/A self N/A arg kw N/A N/A plugin N/A N/A N/A self _getTargetClass arg kw N/A plugin N/A test_ctor N/A N/A self N/A N/A N/A wrapper N/A N/A self _makeOne None N/A N/A N/A self assertEqual N/A wrapper start_response None N/A N/A N/A self assertEqual N/A wrapper headers N/A N/A N/A N/A self assertTrue N/A wrapper buffer N/A test_finish_response N/A N/A self N/A N/A repoze.who._compat StringIO N/A statuses N/A N/A headerses N/A N/A datases N/A N/A closededs N/A write N/A N/A data N/A N/A N/A N/A N/A datases append data N/A close N/A N/A N/A N/A N/A N/A N/A closededs append True N/A N/A N/A write close close start_response N/A N/A status headers exc_info N/A None N/A N/A N/A N/A statuses append status N/A N/A N/A headerses append headers N/A write N/A N/A wrapper N/A N/A self _makeOne start_response N/A N/A wrapper status 401 Unauthorized N/A N/A wrapper headers N/A N/A a 1 N/A N/A wrapper buffer N/A StringIO written N/A extra_headers N/A N/A b 2 N/A result N/A N/A wrapper finish_response extra_headers N/A N/A N/A self assertEqual result None N/A N/A N/A self assertEqual N/A headerses N/A 0 N/A N/A wrapper headers extra_headers N/A N/A N/A self assertEqual N/A statuses N/A 0 N/A wrapper status N/A N/A N/A self assertEqual N/A datases N/A 0 written N/A N/A N/A self assertEqual N/A closededs N/A 0 True N/A N/A WrapGeneratorTests N/A N/A unittest TestCase N/A _callFUT N/A N/A self iterable N/A N/A repoze.who.middleware wrap_generator N/A N/A wrap_generator iterable N/A test_w_generator N/A N/A self N/A N/A N/A L N/A gen N/A N/A L N/A L N/A N/A N/A N/A L append yo! N/A N/A a N/A N/A b N/A N/A newgen N/A N/A self _callFUT N/A gen N/A N/A N/A self assertEqual L N/A yo! N/A N/A N/A self assertEqual N/A list newgen N/A a b N/A test_w_empty_generator N/A N/A self N/A N/A gen N/A N/A N/A N/A N/A False N/A N/A N/A a N/A N/A newgen N/A N/A self _callFUT N/A gen N/A N/A N/A self assertEqual N/A list newgen N/A N/A test_w_iterator_having_close N/A N/A self N/A N/A gen N/A N/A N/A N/A N/A N/A a N/A N/A b N/A N/A iterable N/A DummyIterableWithClose N/A gen N/A newgen N/A N/A self _callFUT iterable N/A N/A N/A self assertFalse N/A iterable _closed N/A N/A N/A self assertEqual N/A list newgen N/A a b N/A N/A N/A self assertTrue N/A iterable _closed N/A N/A TestMakeTestMiddleware N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A os N/A N/A N/A N/A N/A os environ N/A WHO_LOG N/A N/A N/A KeyError N/A N/A N/A tearDown N/A N/A self N/A N/A N/A os N/A N/A N/A N/A N/A os environ N/A WHO_LOG N/A N/A N/A KeyError N/A N/A N/A _getFactory N/A N/A self N/A N/A repoze.who.middleware make_test_middleware N/A make_test_middleware N/A test_it_no_WHO_LOG_in_environ N/A N/A self N/A N/A N/A app N/A DummyApp N/A factory N/A N/A self _getFactory N/A global_conf N/A here / N/A middleware N/A factory app global_conf N/A api_factory N/A middleware api_factory N/A N/A N/A self assertEqual N/A len N/A api_factory identifiers 2 N/A N/A N/A self assertEqual N/A len N/A api_factory authenticators 1 N/A N/A N/A self assertEqual N/A len N/A api_factory challengers 2 N/A N/A N/A self assertEqual N/A len N/A api_factory mdproviders 0 N/A N/A N/A self assertEqual N/A middleware logger None N/A test_it_w_WHO_LOG_in_environ N/A N/A self N/A N/A N/A logging N/A os N/A N/A N/A os environ N/A WHO_LOG 1 N/A app N/A DummyApp N/A factory N/A N/A self _getFactory N/A global_conf N/A here / N/A middleware N/A factory app global_conf N/A N/A N/A self assertEqual N/A N/A N/A middleware logger getEffectiveLevel N/A logging DEBUG N/A N/A DummyApp N/A object N/A N/A environ None __call__ N/A N/A self environ start_response N/A N/A N/A N/A self environ environ N/A N/A N/A N/A DummyWorkingApp N/A object N/A __init__ N/A N/A self status headers N/A N/A N/A N/A self status status N/A N/A self headers headers N/A __call__ N/A N/A self environ start_response N/A N/A N/A N/A self environ environ N/A N/A start_response N/A self status N/A self headers N/A N/A body N/A N/A DummyGeneratorApp N/A object N/A __init__ N/A N/A self status headers N/A N/A N/A N/A self status status N/A N/A self headers headers N/A __call__ N/A N/A self environ start_response N/A N/A gen N/A N/A self start_response N/A self start_response N/A N/A N/A self environ environ N/A N/A start_response N/A self status N/A self headers N/A N/A body N/A N/A N/A gen N/A N/A DummyIterableWithClose N/A object N/A N/A _closed False __init__ N/A N/A self iterable N/A N/A N/A N/A self _iterable iterable N/A __iter__ N/A N/A self N/A N/A N/A N/A iter N/A self _iterable N/A close N/A N/A self N/A N/A N/A N/A self _closed True N/A N/A DummyIterableWithCloseApp N/A object N/A __init__ N/A N/A self status headers N/A N/A N/A N/A self status status N/A N/A self headers headers N/A N/A self _iterable N/A DummyIterableWithClose N/A body N/A __call__ N/A N/A self environ start_response N/A N/A N/A N/A self environ environ N/A N/A start_response N/A self status N/A self headers N/A N/A self _iterable N/A N/A DummyIdentityResetApp N/A object N/A __init__ N/A N/A self status headers new_identity N/A N/A N/A N/A self status status N/A N/A self headers headers N/A N/A self new_identity new_identity N/A __call__ N/A N/A self environ start_response N/A N/A N/A N/A self environ environ N/A N/A N/A environ N/A repoze.who.identity N/A login fred N/A N/A N/A environ N/A repoze.who.identity N/A password schooled N/A N/A start_response N/A self status N/A self headers N/A N/A body N/A N/A DummyChallenger N/A object N/A __init__ N/A N/A self app N/A None N/A N/A N/A self app app N/A challenge N/A N/A self environ status app_headers forget_headers N/A N/A N/A N/A environ N/A challenged N/A self app N/A N/A self app N/A N/A DummyIdentifier N/A object N/A N/A forgotten False N/A remembered False __init__ N/A N/A self credentials remember_headers forget_headers replace_app N/A None None None None N/A N/A N/A self credentials credentials N/A N/A self remember_headers remember_headers N/A N/A self forget_headers forget_headers N/A N/A self replace_app replace_app N/A identify N/A N/A self environ N/A N/A N/A N/A self replace_app N/A N/A N/A environ N/A repoze.who.application N/A self replace_app N/A N/A self credentials N/A forget N/A N/A self environ identity N/A N/A N/A N/A self forgotten identity N/A N/A self forget_headers N/A remember N/A N/A self environ identity N/A N/A N/A N/A self remembered identity N/A N/A self remember_headers N/A N/A DummyAuthenticator N/A object N/A authenticate N/A N/A self environ credentials N/A N/A N/A N/A credentials N/A login N/A N/A DummyRequestClassifier N/A object N/A __call__ N/A N/A self environ N/A N/A N/A browser N/A N/A DummyChallengeDecider N/A object N/A __call__ N/A N/A self environ status headers N/A N/A N/A N/A N/A status startswith 401  N/A N/A True N/A N/A DummyStartResponse N/A object N/A __call__ N/A N/A self status headers exc_info N/A None N/A N/A N/A self status status N/A N/A self headers headers N/A N/A self exc_info exc_info N/A N/A N/A N/A DummyMDProvider N/A object N/A __init__ N/A N/A self metadata N/A None N/A N/A N/A self _metadata metadata N/A add_metadata N/A N/A self environ identity N/A N/A N/A N/A N/A identity update N/A self _metadata N/A N/A