Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias ClassDef bases NameLoad body Expr Str Assign NameStore ListLoad Str Assign NameStore TupleLoad Str Str Assign NameStore Str Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore ListLoad NameLoad orelse Assign NameStore ListLoad Return TupleLoad Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str AttributeLoad NameLoad attr decorator_list Call NameLoad ListLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad If NameLoad body Assign NameStore Dict Str AttributeLoad NameLoad attr orelse Assign NameStore Dict Return TupleLoad Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad ListLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Dict Str Num keyword Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Num keyword Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str AttributeLoad NameLoad attr decorator_list Call NameLoad ListLoad Str decorator_list Call AttributeLoad NameLoad attr NameLoad ClassDef bases NameLoad body Expr Str Assign NameStore ListLoad Str Assign NameStore TupleLoad Str Str Assign NameStore Str Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return TupleLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad ListLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr CompareIn NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num keyword Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore BinOpAdd AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Num keyword Dict Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore BinOpAdd AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Num keyword Dict Str NameLoad decorator_list Call NameLoad ListLoad Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str AttributeLoad NameLoad attr decorator_list Call NameLoad ListLoad Str decorator_list Call AttributeLoad NameLoad attr NameLoad
N/A __future__ unicode_literals django.utils six djblets.testing.decorators add_fixtures djblets.webapi.errors DOES_NOT_EXIST PERMISSION_DENIED reviewboard.webapi.resources resources reviewboard.webapi.tests.base BaseWebAPITestCase reviewboard.webapi.tests.mimetypes watched_review_request_item_mimetype watched_review_request_list_mimetype reviewboard.webapi.tests.mixins BasicTestsMetaclass reviewboard.webapi.tests.urls get_review_request_item_url get_watched_review_request_item_url get_watched_review_request_list_url ResourceListTests N/A BaseWebAPITestCase N/A N/A Testing the WatchedReviewRequestResource list API tests. N/A fixtures N/A test_users N/A test_http_methods N/A GET POST N/A sample_api_url users/<username>/watched/review-requests/ N/A resource N/A resources watched_review_request compare_item N/A N/A self item_rsp obj N/A N/A N/A watched_rsp N/A item_rsp N/A watched_review_request N/A N/A N/A self assertEqual N/A watched_rsp N/A id N/A obj display_id N/A N/A N/A self assertEqual N/A watched_rsp N/A summary N/A obj summary N/A setup_basic_get_test N/A N/A self user with_local_site local_site_name populate_items N/A N/A N/A populate_items N/A N/A review_request N/A N/A self create_review_request with_local_site with_local_site publish True N/A profile N/A N/A user get_profile N/A N/A N/A N/A profile starred_review_requests add review_request N/A items N/A review_request N/A N/A items N/A N/A N/A N/A get_watched_review_request_list_url N/A user username local_site_name watched_review_request_list_mimetype items N/A test_get_with_site_does_not_exist N/A N/A self N/A N/A N/A Testing the GET users/<username>/watched/review-requests/ API
        with a local site and Does Not Exist error
         N/A N/A N/A self _login_user local_site True N/A rsp N/A N/A self api_get N/A get_watched_review_request_list_url N/A N/A self user username N/A self local_site_name expected_status 404 N/A N/A N/A self assertEqual N/A rsp N/A stat fail N/A N/A N/A self assertEqual N/A N/A rsp N/A err N/A code N/A DOES_NOT_EXIST code N/A N/A add_fixtures N/A test_site setup_basic_post_test N/A N/A self user with_local_site local_site_name post_valid_data N/A N/A N/A review_request N/A N/A self create_review_request with_local_site with_local_site publish True N/A post_valid_data N/A N/A post_data N/A object_id N/A review_request display_id N/A N/A post_data N/A N/A N/A N/A get_watched_review_request_list_url N/A user username local_site_name watched_review_request_item_mimetype post_data N/A review_request N/A check_post_result N/A N/A self user rsp review_request N/A N/A N/A profile N/A N/A user get_profile N/A N/A N/A self assertTrue N/A review_request N/A N/A N/A profile starred_review_requests all N/A test_post_with_does_not_exist_error N/A N/A self N/A N/A N/A Testing the POST users/<username>/watched/review-requests/
        with Does Not Exist error
         N/A rsp N/A N/A self api_post N/A get_watched_review_request_list_url N/A N/A self user username N/A object_id 999 expected_status 404 N/A N/A N/A self assertEqual N/A rsp N/A stat fail N/A N/A N/A self assertEqual N/A N/A rsp N/A err N/A code N/A DOES_NOT_EXIST code N/A test_post_with_site_does_not_exist_error N/A N/A self N/A N/A N/A Testing the POST users/<username>/watched/review-requests/ API
        with a local site and Does Not Exist error
         N/A user N/A N/A self _login_user local_site True N/A rsp N/A N/A self api_post N/A get_watched_review_request_list_url N/A user username N/A self local_site_name N/A object_id 10 expected_status 404 N/A N/A N/A self assertEqual N/A rsp N/A stat fail N/A N/A N/A self assertEqual N/A N/A rsp N/A err N/A code N/A DOES_NOT_EXIST code N/A N/A add_fixtures N/A test_site N/A N/A N/A six add_metaclass BasicTestsMetaclass ResourceItemTests N/A BaseWebAPITestCase N/A N/A Testing the WatchedReviewRequestResource item API tests. N/A fixtures N/A test_users N/A test_http_methods N/A DELETE PUT N/A sample_api_url users/<username>/watched/review-requests/<id>/ N/A resource N/A resources watched_review_request setup_http_not_allowed_item_test N/A N/A self user N/A N/A N/A N/A get_watched_review_request_item_url N/A user username 1 N/A setup_basic_delete_test N/A N/A self user with_local_site local_site_name N/A N/A N/A review_request N/A N/A self create_review_request with_local_site with_local_site publish True N/A profile N/A N/A user get_profile N/A N/A N/A N/A profile starred_review_requests add review_request N/A N/A N/A get_watched_review_request_item_url N/A user username N/A review_request display_id local_site_name N/A profile review_request N/A check_delete_result N/A N/A self user profile review_request N/A N/A N/A N/A N/A self assertFalse N/A review_request N/A N/A N/A profile starred_review_requests all N/A test_delete_with_does_not_exist_error N/A N/A self N/A N/A N/A Testing the DELETE users/<username>/watched/review_request/<id>/ API
        with Does Not Exist error
         N/A rsp N/A N/A self api_delete N/A get_watched_review_request_item_url N/A N/A self user username 999 expected_status 404 N/A N/A N/A self assertEqual N/A rsp N/A stat fail N/A N/A N/A self assertEqual N/A N/A rsp N/A err N/A code N/A DOES_NOT_EXIST code N/A test_get N/A N/A self N/A N/A N/A Testing the GET users/<username>/watched/review-requests/<id>/ API
         N/A review_request N/A N/A self create_review_request publish True N/A profile N/A N/A N/A self user get_profile N/A N/A N/A N/A profile starred_review_requests add review_request N/A expected_url N/A N/A self base_url N/A get_review_request_item_url N/A review_request display_id N/A N/A N/A self api_get N/A get_watched_review_request_item_url N/A N/A self user username N/A review_request display_id expected_status 302 expected_headers N/A Location expected_url N/A test_get_with_site N/A N/A self N/A N/A N/A Testing the GET users/<username>/watched/review-requests/<id>/ API
        with access to a local site
         N/A user N/A N/A self _login_user local_site True N/A review_request N/A N/A self create_review_request with_local_site True publish True N/A profile N/A N/A user get_profile N/A N/A N/A N/A profile starred_review_requests add review_request N/A expected_url N/A N/A self base_url N/A get_review_request_item_url N/A review_request display_id N/A self local_site_name N/A N/A N/A self api_get N/A get_watched_review_request_item_url N/A user username N/A review_request display_id N/A self local_site_name expected_status 302 expected_headers N/A Location expected_url N/A N/A add_fixtures N/A test_site test_get_with_site_no_access N/A N/A self N/A N/A N/A Testing the GET users/<username>/watched/review-requests/<id>/ API
        without access to a local site
         N/A review_request N/A N/A self create_review_request with_local_site True publish True N/A profile N/A N/A N/A self user get_profile N/A N/A N/A N/A profile starred_review_requests add review_request N/A rsp N/A N/A self api_get N/A get_watched_review_request_item_url N/A N/A self user username N/A review_request display_id N/A self local_site_name expected_status 403 N/A N/A N/A self assertEqual N/A rsp N/A stat fail N/A N/A N/A self assertEqual N/A N/A rsp N/A err N/A code N/A PERMISSION_DENIED code N/A N/A add_fixtures N/A test_site N/A N/A N/A six add_metaclass BasicTestsMetaclass