Module Import alias Import alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign NameStore Call NameLoad FunctionDef arguments args NameParam defaults body If CompareEq NameLoad Str body Return Str orelse If CompareEq NameLoad Str body Return Str orelse Return NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args defaults body Return Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body Return BinOpAdd Str Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareNotIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Dict Str BinOpAdd Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Dict Str BinOpAdd Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Str decorator_list decorator_list
N/A N/A unittest N/A base64 flask Flask flask_httpauth HTTPBasicAuth HTTPAuthTestCase N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A app N/A Flask __name__ N/A N/A N/A app config N/A SECRET_KEY my secret N/A basic_auth N/A HTTPBasicAuth get_basic_password N/A N/A username N/A N/A N/A N/A username john N/A N/A hello N/A N/A N/A username susan N/A N/A bye N/A N/A None N/A N/A basic_auth get_password index N/A N/A N/A N/A N/A index N/A N/A N/A app route / basic_auth_route N/A N/A N/A N/A N/A N/A basic_auth: N/A N/A basic_auth username N/A N/A N/A app route /basic N/A basic_auth login_required N/A N/A self app app N/A N/A self basic_auth basic_auth N/A N/A self client N/A N/A app test_client N/A test_no_auth N/A N/A self N/A N/A N/A response N/A N/A N/A self client get / N/A N/A N/A self assertEqual N/A N/A N/A response data decode utf-8 index N/A test_basic_auth_prompt N/A N/A self N/A N/A N/A response N/A N/A N/A self client get /basic N/A N/A N/A self assertEqual N/A response status_code 401 N/A N/A N/A self assertTrue N/A WWW-Authenticate N/A response headers N/A N/A N/A self assertEqual N/A N/A response headers N/A WWW-Authenticate Basic realm="Authentication Required" N/A test_basic_auth_ignore_options N/A N/A self N/A N/A N/A response N/A N/A N/A self client options /basic N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertTrue N/A WWW-Authenticate N/A response headers N/A test_basic_auth_login_valid N/A N/A self N/A N/A N/A creds N/A N/A N/A N/A base64 b64encode john:hello decode utf-8 N/A response N/A N/A N/A self client get /basic headers N/A Authorization N/A Basic  creds N/A N/A N/A self assertEqual N/A N/A N/A response data decode utf-8 basic_auth:john N/A test_basic_auth_login_invalid N/A N/A self N/A N/A N/A creds N/A N/A N/A N/A base64 b64encode john:bye decode utf-8 N/A response N/A N/A N/A self client get /basic headers N/A Authorization N/A Basic  creds N/A N/A N/A self assertEqual N/A response status_code 401 N/A N/A N/A self assertTrue N/A WWW-Authenticate N/A response headers N/A N/A N/A self assertEqual N/A N/A response headers N/A WWW-Authenticate Basic realm="Authentication Required" N/A N/A