Module ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Str keyword Dict Str Str Str AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str keyword Dict Str Str Str AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assert CompareEq AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareIs AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str Assert UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call NameLoad Str decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Str keyword Dict Str Str Str AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Str Assert CompareEq AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Dict Str Str keyword Str Assert CompareEq AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad NameLoad Index Str Str decorator_list decorator_list
N/A __future__ absolute_import N/A hmac django.core.urlresolvers reverse exam fixture hashlib sha256 mock patch sentry.models ProjectOption sentry.testutils TestCase sentry.utils json ReleaseWebhookTest N/A TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super ReleaseWebhookTest self setUp N/A N/A self organization N/A N/A self create_organization N/A N/A self team N/A N/A self create_team organization N/A self organization N/A N/A self project N/A N/A self create_project team N/A self team N/A N/A self token a2587e3af83411e4a28634363b8514c2 N/A N/A self signature N/A N/A N/A N/A hmac new key N/A self token msg N/A N/A dummy-{} format N/A N/A self project id digestmod sha256 hexdigest N/A N/A N/A N/A ProjectOption objects set_value N/A self project sentry:release-token N/A self token N/A path N/A N/A self N/A N/A N/A N/A reverse sentry-release-hook kwargs N/A project_id plugin_id signature N/A N/A self project id dummy N/A self signature N/A fixture test_invalid_signature N/A N/A self N/A N/A N/A path N/A reverse sentry-release-hook kwargs N/A project_id plugin_id signature N/A N/A self project id dummy wrong N/A resp N/A N/A N/A self client post path N/A N/A N/A resp status_code 403 N/A test_valid_signature N/A N/A self mock_plugin_get N/A N/A N/A MockPlugin N/A mock_plugin_get return_value N/A N/A N/A MockPlugin is_enabled return_value True N/A MockReleaseHook N/A N/A MockPlugin get_release_hook return_value N/A resp N/A N/A N/A self client post N/A self path N/A N/A N/A resp status_code 204 N/A N/A N/A mock_plugin_get assert_called_once_with dummy N/A N/A N/A N/A MockPlugin get_release_hook assert_called_once_with N/A N/A N/A MockReleaseHook assert_called_once_with N/A self project N/A N/A N/A N/A N/A MockReleaseHook return_value handle call_count 1 N/A N/A patch sentry.plugins.plugins.get test_disabled_plugin N/A N/A self mock_plugin_get N/A N/A N/A MockPlugin N/A mock_plugin_get return_value N/A N/A N/A MockPlugin is_enabled return_value False N/A resp N/A N/A N/A self client post N/A self path N/A N/A N/A resp status_code 403 N/A N/A N/A mock_plugin_get assert_called_once_with dummy N/A N/A N/A N/A MockPlugin get_release_hook called N/A N/A patch sentry.plugins.plugins.get N/A BuiltinReleaseWebhookTest N/A TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super BuiltinReleaseWebhookTest self setUp N/A N/A self organization N/A N/A self create_organization N/A N/A self team N/A N/A self create_team organization N/A self organization N/A N/A self project N/A N/A self create_project team N/A self team N/A N/A self token a2587e3af83411e4a28634363b8514c2 N/A N/A self signature N/A N/A N/A N/A hmac new key N/A self token msg N/A N/A builtin-{} format N/A N/A self project id digestmod sha256 hexdigest N/A N/A N/A N/A ProjectOption objects set_value N/A self project sentry:release-token N/A self token N/A path N/A N/A self N/A N/A N/A N/A reverse sentry-release-hook kwargs N/A project_id plugin_id signature N/A N/A self project id builtin N/A self signature N/A fixture test_invalid_params N/A N/A self N/A N/A N/A resp N/A N/A N/A self client post N/A self path content_type application/json N/A N/A N/A resp status_code 400 N/A test_valid_params N/A N/A self N/A N/A N/A resp N/A N/A N/A self client post N/A self path data N/A N/A json dumps N/A version a content_type application/json N/A N/A N/A resp status_code 201 N/A resp content N/A data N/A N/A json loads N/A resp content N/A N/A N/A data N/A version a N/A N/A