Module Import alias Import alias ImportFrom alias alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Str Str Str Str Str Str Str ListLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Assign AttributeStore NameLoad attr Dict Str Str BinOpMod Str AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Pass 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 decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Dict Str BinOpAdd Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Dict Str BinOpAdd Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Dict Str BinOpAdd Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Dict Str BinOpAdd Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str Str Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad ListComp SubscriptLoad NameLoad Index Str comprehension NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Dict Str Str Str Str Str NameLoad Str Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Call AttributeLoad NameLoad attr NameLoad keyword Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Dict Str Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Dict Str Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Call AttributeLoad NameLoad attr NameLoad keyword Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Dict Str Str BinOpAdd Str NameLoad Str Assign NameStore Dict Str Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Assign NameStore SubscriptLoad NameLoad Index 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 Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str NameLoad keyword Dict Str BinOpAdd Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad ListComp SubscriptLoad NameLoad Index Str comprehension NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad ListComp SubscriptLoad NameLoad Index Str comprehension NameStore SubscriptLoad NameLoad Index Str CompareEq SubscriptLoad NameLoad Index Str NameLoad Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list decorator_list
N/A N/A json N/A unittest alerta.app app db AuthTestCase N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A app config N/A TESTING True N/A N/A N/A app config N/A AUTH_REQUIRED True N/A N/A N/A app config N/A CUSTOMER_VIEWS True N/A N/A N/A app config N/A ALLOWED_EMAIL_DOMAINS N/A debeauharnais.fr N/A N/A self app N/A N/A app test_client N/A N/A self alert N/A event resource environment service Foo Bar Production N/A Quux N/A N/A self api_key N/A N/A db create_key demo-key type read-write text demo-key N/A N/A self headers N/A Authorization Content-type N/A Key %s N/A self api_key application/json N/A tearDown N/A N/A self N/A N/A N/A N/A test_401_error N/A N/A self N/A N/A N/A response N/A N/A N/A self app get /alerts N/A N/A N/A self assertEqual N/A response status_code 401 N/A test_readwrite_key N/A N/A self N/A N/A N/A payload N/A user type rw-demo-key read-write N/A response N/A N/A N/A self app post /key data N/A N/A json dumps payload headers N/A self headers N/A N/A N/A self assertEqual N/A response status_code 201 N/A data N/A N/A json loads N/A N/A N/A response data decode utf-8 N/A N/A N/A self assertIsNotNone N/A data N/A key Failed to create read-write key N/A rw_api_key N/A data N/A key N/A response N/A N/A N/A self app post /alert data N/A N/A json dumps N/A self alert headers N/A Authorization N/A Key  rw_api_key N/A N/A N/A self assertEqual N/A response status_code 201 N/A response N/A N/A N/A self app get /alerts headers N/A Authorization N/A Key  rw_api_key N/A N/A N/A self assertEqual N/A response status_code 200 N/A data N/A N/A json loads N/A N/A N/A response data decode utf-8 N/A N/A N/A self assertIn total data N/A response N/A N/A N/A self app delete N/A /key/ rw_api_key headers N/A self headers N/A N/A N/A self assertEqual N/A response status_code 200 N/A test_readonly_key N/A N/A self N/A N/A N/A payload N/A user type ro-demo-key read-only N/A response N/A N/A N/A self app post /key data N/A N/A json dumps payload headers N/A self headers N/A N/A N/A self assertEqual N/A response status_code 201 N/A data N/A N/A json loads N/A N/A N/A response data decode utf-8 N/A N/A N/A self assertIsNotNone N/A data N/A key Failed to create read-only key N/A ro_api_key N/A data N/A key N/A response N/A N/A N/A self app post /alert data N/A N/A json dumps N/A self alert headers N/A Authorization N/A Key  ro_api_key N/A N/A N/A self assertEqual N/A response status_code 403 N/A response N/A N/A N/A self app get /alerts headers N/A Authorization N/A Key  ro_api_key N/A N/A N/A self assertEqual N/A response status_code 200 N/A data N/A N/A json loads N/A N/A N/A response data decode utf-8 N/A N/A N/A self assertIn total data N/A response N/A N/A N/A self app delete N/A /key/ ro_api_key headers N/A self headers N/A N/A N/A self assertEqual N/A response status_code 200 N/A test_users N/A N/A self N/A N/A N/A payload N/A name login provider text Napoleon Bonaparte napoleon@bonaparte.fr google added to circle of trust N/A response N/A N/A N/A self app post /user data N/A N/A json dumps payload headers N/A self headers N/A N/A N/A self assertEqual N/A response status_code 201 N/A data N/A N/A json loads N/A N/A N/A response data decode utf-8 N/A N/A N/A self assertIsNotNone N/A data N/A user Failed to create user N/A user_id N/A data N/A user N/A response N/A N/A N/A self app get /users headers N/A self headers N/A N/A N/A self assertEqual N/A response status_code 200 N/A data N/A N/A json loads N/A N/A N/A response data decode utf-8 N/A N/A N/A self assertIn user_id N/A N/A u N/A id N/A u N/A data N/A users N/A response N/A N/A N/A self app post /user data N/A N/A json dumps payload headers N/A self headers N/A N/A N/A self assertEqual N/A response status_code 409 N/A response N/A N/A N/A self app delete N/A /user/ user_id headers N/A self headers N/A N/A N/A self assertEqual N/A response status_code 200 N/A test_login N/A N/A self N/A N/A N/A name Josephine de Beauharnais N/A payload N/A name email password provider text name josephine@debeauharnais.fr blackforest basic Test login N/A response N/A N/A N/A self app post /auth/signup data N/A N/A json dumps payload headers N/A Content-type application/json N/A N/A N/A self assertEqual N/A response status_code 403 N/A payload N/A customer match Bonaparte Industries debeauharnais.fr N/A response N/A N/A N/A self app post /customer data N/A N/A json dumps payload headers N/A self headers N/A N/A N/A self assertEqual N/A response status_code 201 N/A payload N/A email password josephine@debeauharnais.fr blackforest N/A response N/A N/A N/A self app post /auth/login data N/A N/A json dumps payload headers N/A Content-type application/json N/A N/A N/A self assertEqual N/A response status_code 200 N/A data N/A N/A json loads N/A N/A N/A response data decode utf-8 N/A N/A N/A self assertIn token data N/A token N/A data N/A token N/A headers N/A Authorization Content-type N/A Bearer  token application/json N/A payload N/A user type customer-demo-key read-only N/A response N/A N/A N/A self app post /key data N/A N/A json dumps payload headers headers N/A N/A N/A self assertEqual N/A response status_code 201 N/A data N/A N/A json loads N/A N/A N/A response data decode utf-8 N/A N/A N/A self assertIsNotNone N/A data N/A key Failed to create read-only key N/A customer_api_key N/A data N/A key N/A response N/A N/A N/A self app get /alerts headers N/A Authorization N/A Key  customer_api_key N/A N/A N/A self assertEqual N/A response status_code 200 N/A data N/A N/A json loads N/A N/A N/A response data decode utf-8 N/A N/A N/A self assertIn total data N/A response N/A N/A N/A self app delete N/A /key/ customer_api_key headers N/A Authorization N/A Key  customer_api_key N/A N/A N/A self assertEqual N/A response status_code 403 N/A response N/A N/A N/A self app delete N/A /key/ customer_api_key headers N/A self headers N/A N/A N/A self assertEqual N/A response status_code 200 N/A response N/A N/A N/A self app get /users headers N/A self headers N/A N/A N/A self assertEqual N/A response status_code 200 N/A data N/A N/A json loads N/A N/A N/A response data decode utf-8 N/A N/A N/A self assertIn name N/A N/A u N/A name N/A u N/A data N/A users N/A user_id N/A N/A N/A u N/A id N/A u N/A data N/A users N/A N/A u N/A name name N/A 0 N/A response N/A N/A N/A self app delete N/A /user/ user_id headers N/A self headers N/A N/A N/A self assertEqual N/A response status_code 200 N/A response N/A N/A N/A self app delete N/A /customer/ Bonaparte Industries headers N/A self headers N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A