Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore ListLoad Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Expr Call NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Str attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Str attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Str attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num decorator_list Call NameLoad ListLoad Str FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Str attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad NameLoad attr decorator_list Call NameLoad ListLoad Str FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Str attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad NameLoad attr decorator_list Call NameLoad ListLoad Str FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Str attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num decorator_list Call NameLoad ListLoad Str FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Str attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad NameLoad attr decorator_list Call NameLoad ListLoad Str FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num decorator_list Call NameLoad ListLoad Str FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Str attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Str attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad Str keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Dict Str NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str NameLoad decorator_list decorator_list
N/A __future__ unicode_literals django.contrib.auth.models User django.contrib.sites.models Site django.core.management call_command djblets.siteconfig.models SiteConfiguration djblets.testing.decorators add_fixtures reviewboard.admin.server build_server_url reviewboard.admin.siteconfig load_site_config reviewboard.site.urlresolvers local_site_reverse reviewboard.testing.testcase TestCase SearchTests N/A TestCase N/A N/A Unit tests for search functionality. N/A fixtures N/A test_users setUpClass N/A N/A cls N/A N/A N/A Set some initial state for all search-related tests.

        This will enable search and reset Haystack's configuration based
        on that, allowing the search tests to run.
         N/A siteconfig N/A N/A N/A SiteConfiguration objects get_current N/A N/A N/A siteconfig set search_enable True N/A N/A N/A siteconfig save N/A N/A load_site_config N/A classmethod test_search_all N/A N/A self N/A N/A N/A Testing search with review requests and users N/A review_request N/A N/A self create_review_request submitter doc publish True N/A N/A N/A self reindex N/A response N/A N/A self search doc N/A context N/A response context N/A N/A N/A self assertEqual N/A context N/A hits_returned 2 N/A results N/A N/A context N/A page object_list N/A N/A N/A self assertEqual N/A N/A N/A results N/A 0 content_type auth.user N/A N/A N/A self assertEqual N/A N/A results N/A 0 username doc N/A N/A N/A self assertEqual N/A N/A N/A results N/A 1 content_type reviews.reviewrequest N/A N/A N/A self assertEqual N/A N/A results N/A 1 summary N/A review_request summary N/A test_filter_review_requests N/A N/A self N/A N/A N/A Testing search with filtering for review requests N/A review_request N/A N/A self create_review_request submitter doc publish True N/A N/A N/A self reindex N/A response N/A N/A self search doc filter_by reviewrequests N/A context N/A response context N/A N/A N/A self assertEqual N/A context N/A hits_returned 1 N/A results N/A N/A context N/A page object_list N/A N/A N/A self assertEqual N/A N/A N/A results N/A 0 content_type reviews.reviewrequest N/A N/A N/A self assertEqual N/A N/A results N/A 0 summary N/A review_request summary N/A test_filter_users N/A N/A self N/A N/A N/A Testing search with filtering for review requests N/A N/A N/A self create_review_request submitter doc publish True N/A N/A N/A self reindex N/A response N/A N/A self search doc filter_by users N/A context N/A response context N/A N/A N/A self assertEqual N/A context N/A hits_returned 1 N/A results N/A N/A context N/A page object_list N/A N/A N/A self assertEqual N/A N/A N/A results N/A 0 content_type auth.user N/A N/A N/A self assertEqual N/A N/A results N/A 0 username doc N/A test_review_requests_without_private_repo_access N/A N/A self N/A N/A N/A Testing search with private review requests without access to
        private repositories
         N/A N/A N/A N/A self client login username grumpy password grumpy N/A user N/A N/A N/A User objects get username grumpy N/A repository N/A N/A self create_repository public False N/A review_request N/A N/A self create_review_request repository repository publish True N/A N/A N/A self assertFalse N/A N/A review_request is_accessible_by user N/A N/A N/A self reindex N/A response N/A N/A self search N/A review_request summary N/A context N/A response context N/A N/A N/A self assertEqual N/A context N/A hits_returned 0 N/A N/A add_fixtures N/A test_scmtools test_review_requests_with_private_repo_access N/A N/A self N/A N/A N/A Testing search with private review requests with access to
        private repositories
         N/A N/A N/A N/A self client login username grumpy password grumpy N/A user N/A N/A N/A User objects get username grumpy N/A repository N/A N/A self create_repository public False N/A N/A N/A N/A repository users add user N/A review_request N/A N/A self create_review_request repository repository publish True N/A N/A N/A self assertTrue N/A N/A review_request is_accessible_by user N/A N/A N/A self reindex N/A response N/A N/A self search N/A review_request summary N/A context N/A response context N/A N/A N/A self assertEqual N/A context N/A hits_returned 1 N/A results N/A N/A context N/A page object_list N/A N/A N/A self assertEqual N/A N/A N/A results N/A 0 content_type reviews.reviewrequest N/A N/A N/A self assertEqual N/A N/A results N/A 0 summary N/A review_request summary N/A N/A add_fixtures N/A test_scmtools test_review_requests_with_private_repo_access_through_group N/A N/A self N/A N/A N/A Testing search with private review requests with access to
        private repositories through groups
         N/A N/A N/A N/A self client login username grumpy password grumpy N/A user N/A N/A N/A User objects get username grumpy N/A group N/A N/A self create_review_group invite_only True N/A N/A N/A N/A group users add user N/A repository N/A N/A self create_repository public False N/A N/A N/A N/A repository review_groups add group N/A review_request N/A N/A self create_review_request repository repository publish True N/A N/A N/A self assertTrue N/A N/A review_request is_accessible_by user N/A N/A N/A self reindex N/A response N/A N/A self search N/A review_request summary N/A context N/A response context N/A N/A N/A self assertEqual N/A context N/A hits_returned 1 N/A results N/A N/A context N/A page object_list N/A N/A N/A self assertEqual N/A N/A N/A results N/A 0 content_type reviews.reviewrequest N/A N/A N/A self assertEqual N/A N/A results N/A 0 summary N/A review_request summary N/A N/A add_fixtures N/A test_scmtools test_review_requests_without_private_group_access N/A N/A self N/A N/A N/A Testing search with private review requests without access to
        a private group
         N/A N/A N/A N/A self client login username grumpy password grumpy N/A user N/A N/A N/A User objects get username grumpy N/A group N/A N/A self create_review_group invite_only True N/A review_request N/A N/A self create_review_request publish True N/A N/A N/A N/A review_request target_groups add group N/A N/A N/A self assertFalse N/A N/A review_request is_accessible_by user N/A N/A N/A self reindex N/A response N/A N/A self search N/A review_request summary N/A context N/A response context N/A N/A N/A self assertEqual N/A context N/A hits_returned 0 N/A test_review_requests_with_private_group_access N/A N/A self N/A N/A N/A Testing search with private review requests with access to
        a private group
         N/A N/A N/A N/A self client login username grumpy password grumpy N/A user N/A N/A N/A User objects get username grumpy N/A group N/A N/A self create_review_group invite_only True N/A N/A N/A N/A group users add user N/A review_request N/A N/A self create_review_request publish True N/A N/A N/A N/A review_request target_groups add group N/A N/A N/A self assertTrue N/A N/A review_request is_accessible_by user N/A N/A N/A self reindex N/A response N/A N/A self search N/A review_request summary N/A context N/A response context N/A N/A N/A self assertEqual N/A context N/A hits_returned 1 N/A results N/A N/A context N/A page object_list N/A N/A N/A self assertEqual N/A N/A N/A results N/A 0 content_type reviews.reviewrequest N/A N/A N/A self assertEqual N/A N/A results N/A 0 summary N/A review_request summary N/A test_review_requests_with_private_repo_access_no_private_group N/A N/A self N/A N/A N/A Testing search with private review requests with access to
        a private repository and without access to a private_group
         N/A N/A N/A N/A self client login username grumpy password grumpy N/A user N/A N/A N/A User objects get username grumpy N/A group N/A N/A self create_review_group invite_only True N/A repository N/A N/A self create_repository public False N/A N/A N/A N/A repository users add user N/A review_request N/A N/A self create_review_request repository repository publish True N/A N/A N/A N/A review_request target_groups add group N/A N/A N/A self assertFalse N/A N/A review_request is_accessible_by user N/A N/A N/A self reindex N/A response N/A N/A self search N/A review_request summary N/A context N/A response context N/A N/A N/A self assertEqual N/A context N/A hits_returned 0 N/A N/A add_fixtures N/A test_scmtools test_review_requests_with_private_repository_as_submitter N/A N/A self N/A N/A N/A Testing search with private review requests without access to
        a private repository as the submitter
         N/A N/A N/A N/A self client login username grumpy password grumpy N/A user N/A N/A N/A User objects get username grumpy N/A repository N/A N/A self create_repository public False N/A N/A N/A N/A repository users add user N/A review_request N/A N/A self create_review_request repository repository submitter user publish True N/A N/A N/A self assertTrue N/A N/A review_request is_accessible_by user N/A N/A N/A self reindex N/A response N/A N/A self search N/A review_request summary N/A context N/A response context N/A N/A N/A self assertEqual N/A context N/A hits_returned 1 N/A results N/A N/A context N/A page object_list N/A N/A N/A self assertEqual N/A N/A N/A results N/A 0 content_type reviews.reviewrequest N/A N/A N/A self assertEqual N/A N/A results N/A 0 summary N/A review_request summary N/A N/A add_fixtures N/A test_scmtools test_review_requests_with_private_repository_and_target_people N/A N/A self N/A N/A N/A Testing search with private review requests without access to
        a private repository and user in target_people
         N/A N/A N/A N/A self client login username grumpy password grumpy N/A user N/A N/A N/A User objects get username grumpy N/A repository N/A N/A self create_repository public False N/A review_request N/A N/A self create_review_request repository repository publish True N/A N/A N/A N/A review_request target_people add user N/A N/A N/A self assertFalse N/A N/A review_request is_accessible_by user N/A N/A N/A self reindex N/A response N/A N/A self search N/A review_request summary N/A context N/A response context N/A N/A N/A self assertEqual N/A context N/A hits_returned 0 N/A N/A add_fixtures N/A test_scmtools test_review_requests_with_private_group_and_target_people N/A N/A self N/A N/A N/A Testing search with private review requests without access to
        a private group and user in target_people
         N/A N/A N/A N/A self client login username grumpy password grumpy N/A user N/A N/A N/A User objects get username grumpy N/A group N/A N/A self create_review_group invite_only True N/A review_request N/A N/A self create_review_request publish True N/A N/A N/A N/A review_request target_groups add group N/A N/A N/A N/A review_request target_people add user N/A N/A N/A self assertTrue N/A N/A review_request is_accessible_by user N/A N/A N/A self reindex N/A response N/A N/A self search N/A review_request summary N/A context N/A response context N/A N/A N/A self assertEqual N/A context N/A hits_returned 1 N/A results N/A N/A context N/A page object_list N/A N/A N/A self assertEqual N/A N/A N/A results N/A 0 content_type reviews.reviewrequest N/A N/A N/A self assertEqual N/A N/A results N/A 0 summary N/A review_request summary N/A test_search_review_request_id N/A N/A self N/A N/A N/A Testing search with a review request ID N/A site N/A N/A N/A Site objects get_current N/A N/A site domain testserver N/A N/A N/A site save N/A N/A N/A N/A self client login username grumpy password grumpy N/A user N/A N/A N/A User objects get username grumpy N/A review_request N/A N/A self create_review_request publish True N/A N/A N/A self assertTrue N/A N/A review_request is_accessible_by user N/A N/A N/A self reindex N/A response N/A N/A self search N/A %d N/A review_request id N/A N/A N/A self assertEqual N/A response url N/A build_server_url N/A N/A review_request get_absolute_url N/A test_search_numeric_non_id N/A N/A self N/A N/A N/A Testing search with a numeric query that is not a review request
        ID
         N/A N/A N/A N/A self client login username grumpy password grumpy N/A user N/A N/A N/A User objects get username grumpy N/A review_request N/A N/A self create_review_request bugs_closed 123,456 publish True N/A N/A N/A self assertTrue N/A N/A review_request is_accessible_by user N/A N/A N/A self reindex N/A response N/A N/A self search 456 N/A context N/A response context N/A N/A N/A self assertEqual N/A context N/A hits_returned 1 N/A results N/A N/A context N/A page object_list N/A N/A N/A self assertEqual N/A N/A N/A results N/A 0 content_type reviews.reviewrequest N/A N/A N/A self assertEqual N/A N/A results N/A 0 summary N/A review_request summary N/A reindex N/A N/A self N/A N/A N/A Re-index the search database for the unit tests. N/A N/A call_command rebuild_index interactive False N/A search N/A N/A self q filter_by N/A None N/A N/A Perform a search with the given query and optional filters.

        The resulting response object is returned. The search results can be
        inspected by looking at ``response.context``.
         N/A options N/A q q N/A filter_by N/A N/A N/A options N/A filter filter_by N/A N/A N/A N/A self client get N/A local_site_reverse search options N/A N/A