Module ImportFrom alias alias ImportFrom alias Import alias Import alias ImportFrom alias alias ImportFrom alias alias Assign NameStore Str Assign NameStore BinOpMod Str NameLoad ClassDef bases AttributeLoad NameLoad attr body Assign NameStore ListLoad Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Assign NameStore Str Assign NameStore Num FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Dict Str Str Str Str Str Str Dict Str Str Str Num Num AttributeLoad NameLoad attr Dict Str Str Str Str Num Num FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str ListLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str ListLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str ListLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str ListLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Str keyword ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Str keyword ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str ListLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str ListLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str Num Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str ListLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Str keyword ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Str keyword ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Str keyword ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Str keyword ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str ListLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad Call NameLoad Lambda arguments args NameParam defaults SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad ListLoad Str Str Str Str Str Str Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Dict Str Str Str Str Str Str Str Dict Str Str Str Num Num AttributeLoad NameLoad attr Dict Str Str Str Str Num Num Dict Str Str Dict Dict Str ListLoad Dict Str Str Str Str Dict Str Str Str Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword ListLoad Str Expr Call AttributeLoad NameLoad attr CompareNotIn Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Dict Str Str Str Str decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Num Assign NameStore Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr keyword Str decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Num Assign NameStore Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad With Call AttributeLoad NameLoad attr NameLoad Str body Expr Call AttributeLoad NameLoad attr keyword Str decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Num Assign NameStore Str decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Str With Call NameLoad NameLoad Str keyword NameLoad NameStore body With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr CompareIn Str Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn Str Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr Dict Str Str attr Str With Call NameLoad NameLoad Str keyword NameLoad NameStore body With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr CompareIn Str Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn Str Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list
N/A tests.compat mock unittest httpretty HTTPretty N/A json N/A requests boto.cloudsearch.search SearchConnection SearchServiceException boto.compat six map N/A HOSTNAME search-demo-userdomain.us-east-1.cloudsearch.amazonaws.com N/A FULL_URL N/A http://%s/2011-02-01/search HOSTNAME CloudSearchSearchBaseTest N/A N/A unittest TestCase N/A N/A hits N/A N/A id title 12341 Document 1 N/A id title 12342 Document 2 N/A id title 12343 Document 3 N/A id title 12344 Document 4 N/A id title 12345 Document 5 N/A id title 12346 Document 6 N/A id title 12347 Document 7 N/A content_type text/xml N/A response_status 200 get_args N/A N/A self requestline N/A N/A N/A N/A _ request _ N/A N/A requestline split N/A N/A _ request N/A N/A request split ? 1 N/A args N/A N/A N/A N/A N/A six moves urllib parse parse_qs request N/A args N/A setUp N/A N/A self N/A N/A N/A N/A N/A HTTPretty enable N/A body N/A self response N/A N/A N/A isinstance body bytes N/A N/A body N/A N/A N/A N/A json dumps body encode utf-8 N/A N/A N/A HTTPretty register_uri N/A HTTPretty GET FULL_URL body body content_type N/A self content_type status N/A self response_status N/A tearDown N/A N/A self N/A N/A N/A N/A N/A HTTPretty disable N/A N/A CloudSearchSearchTest N/A CloudSearchSearchBaseTest N/A N/A response N/A rank match-expr hits info -text_relevance Test N/A found start hit 30 0 N/A CloudSearchSearchBaseTest hits N/A rid time-ms cpu-time-ms b7c167f6c2da6d93531b9a7b314ad030b3a74803b4b7797edb905ba5a6a08 2 0 test_cloudsearch_qsearch N/A N/A self N/A N/A N/A search N/A SearchConnection endpoint HOSTNAME N/A N/A N/A search search q Test N/A args N/A N/A self get_args N/A N/A HTTPretty last_request raw_requestline N/A N/A N/A self assertEqual N/A args N/A q N/A Test N/A N/A N/A self assertEqual N/A args N/A start N/A 0 N/A N/A N/A self assertEqual N/A args N/A size N/A 10 N/A test_cloudsearch_bqsearch N/A N/A self N/A N/A N/A search N/A SearchConnection endpoint HOSTNAME N/A N/A N/A search search bq 'Test' N/A args N/A N/A self get_args N/A N/A HTTPretty last_request raw_requestline N/A N/A N/A self assertEqual N/A args N/A bq N/A 'Test' N/A test_cloudsearch_search_details N/A N/A self N/A N/A N/A search N/A SearchConnection endpoint HOSTNAME N/A N/A N/A search search q Test size 50 start 20 N/A args N/A N/A self get_args N/A N/A HTTPretty last_request raw_requestline N/A N/A N/A self assertEqual N/A args N/A q N/A Test N/A N/A N/A self assertEqual N/A args N/A size N/A 50 N/A N/A N/A self assertEqual N/A args N/A start N/A 20 N/A test_cloudsearch_facet_single N/A N/A self N/A N/A N/A search N/A SearchConnection endpoint HOSTNAME N/A N/A N/A search search q Test facet N/A Author N/A args N/A N/A self get_args N/A N/A HTTPretty last_request raw_requestline N/A N/A N/A self assertEqual N/A args N/A facet N/A Author N/A test_cloudsearch_facet_multiple N/A N/A self N/A N/A N/A search N/A SearchConnection endpoint HOSTNAME N/A N/A N/A search search q Test facet N/A author cat N/A args N/A N/A self get_args N/A N/A HTTPretty last_request raw_requestline N/A N/A N/A self assertEqual N/A args N/A facet N/A author,cat N/A test_cloudsearch_facet_constraint_single N/A N/A self N/A N/A N/A search N/A SearchConnection endpoint HOSTNAME N/A N/A N/A search search q Test facet_constraints N/A author 'John Smith','Mark Smith' N/A args N/A N/A self get_args N/A N/A HTTPretty last_request raw_requestline N/A N/A N/A self assertEqual N/A args N/A facet-author-constraints N/A 'John Smith','Mark Smith' N/A test_cloudsearch_facet_constraint_multiple N/A N/A self N/A N/A N/A search N/A SearchConnection endpoint HOSTNAME N/A N/A N/A search search q Test facet_constraints N/A author category 'John Smith','Mark Smith' 'News','Reviews' N/A args N/A N/A self get_args N/A N/A HTTPretty last_request raw_requestline N/A N/A N/A self assertEqual N/A args N/A facet-author-constraints N/A 'John Smith','Mark Smith' N/A N/A N/A self assertEqual N/A args N/A facet-category-constraints N/A 'News','Reviews' N/A test_cloudsearch_facet_sort_single N/A N/A self N/A N/A N/A search N/A SearchConnection endpoint HOSTNAME N/A N/A N/A search search q Test facet_sort N/A author alpha N/A args N/A N/A self get_args N/A N/A HTTPretty last_request raw_requestline N/A N/A N/A self assertEqual N/A args N/A facet-author-sort N/A alpha N/A test_cloudsearch_facet_sort_multiple N/A N/A self N/A N/A N/A search N/A SearchConnection endpoint HOSTNAME N/A N/A N/A search search q Test facet_sort N/A author cat alpha count N/A args N/A N/A self get_args N/A N/A HTTPretty last_request raw_requestline N/A N/A N/A self assertEqual N/A args N/A facet-author-sort N/A alpha N/A N/A N/A self assertEqual N/A args N/A facet-cat-sort N/A count N/A test_cloudsearch_top_n_single N/A N/A self N/A N/A N/A search N/A SearchConnection endpoint HOSTNAME N/A N/A N/A search search q Test facet_top_n N/A author 5 N/A args N/A N/A self get_args N/A N/A HTTPretty last_request raw_requestline N/A N/A N/A self assertEqual N/A args N/A facet-author-top-n N/A 5 N/A test_cloudsearch_top_n_multiple N/A N/A self N/A N/A N/A search N/A SearchConnection endpoint HOSTNAME N/A N/A N/A search search q Test facet_top_n N/A author cat 5 10 N/A args N/A N/A self get_args N/A N/A HTTPretty last_request raw_requestline N/A N/A N/A self assertEqual N/A args N/A facet-author-top-n N/A 5 N/A N/A N/A self assertEqual N/A args N/A facet-cat-top-n N/A 10 N/A test_cloudsearch_rank_single N/A N/A self N/A N/A N/A search N/A SearchConnection endpoint HOSTNAME N/A N/A N/A search search q Test rank N/A date N/A args N/A N/A self get_args N/A N/A HTTPretty last_request raw_requestline N/A N/A N/A self assertEqual N/A args N/A rank N/A date N/A test_cloudsearch_rank_multiple N/A N/A self N/A N/A N/A search N/A SearchConnection endpoint HOSTNAME N/A N/A N/A search search q Test rank N/A date score N/A args N/A N/A self get_args N/A N/A HTTPretty last_request raw_requestline N/A N/A N/A self assertEqual N/A args N/A rank N/A date,score N/A test_cloudsearch_result_fields_single N/A N/A self N/A N/A N/A search N/A SearchConnection endpoint HOSTNAME N/A N/A N/A search search q Test return_fields N/A author N/A args N/A N/A self get_args N/A N/A HTTPretty last_request raw_requestline N/A N/A N/A self assertEqual N/A args N/A return-fields N/A author N/A test_cloudsearch_result_fields_multiple N/A N/A self N/A N/A N/A search N/A SearchConnection endpoint HOSTNAME N/A N/A N/A search search q Test return_fields N/A author title N/A args N/A N/A self get_args N/A N/A HTTPretty last_request raw_requestline N/A N/A N/A self assertEqual N/A args N/A return-fields N/A author,title N/A test_cloudsearch_t_field_single N/A N/A self N/A N/A N/A search N/A SearchConnection endpoint HOSTNAME N/A N/A N/A search search q Test t N/A year 2001..2007 N/A args N/A N/A self get_args N/A N/A HTTPretty last_request raw_requestline N/A N/A N/A self assertEqual N/A args N/A t-year N/A 2001..2007 N/A test_cloudsearch_t_field_multiple N/A N/A self N/A N/A N/A search N/A SearchConnection endpoint HOSTNAME N/A N/A N/A search search q Test t N/A year score 2001..2007 10..50 N/A args N/A N/A self get_args N/A N/A HTTPretty last_request raw_requestline N/A N/A N/A self assertEqual N/A args N/A t-year N/A 2001..2007 N/A N/A N/A self assertEqual N/A args N/A t-score N/A 10..50 N/A test_cloudsearch_results_meta N/A N/A self N/A N/A N/A Check returned metadata is parsed correctly N/A search N/A SearchConnection endpoint HOSTNAME N/A results N/A N/A search search q Test N/A N/A N/A self assertEqual N/A results rank -text_relevance N/A N/A N/A self assertEqual N/A results match_expression Test N/A test_cloudsearch_results_info N/A N/A self N/A N/A N/A Check num_pages_needed is calculated correctly N/A search N/A SearchConnection endpoint HOSTNAME N/A results N/A N/A search search q Test N/A N/A N/A self assertEqual N/A results num_pages_needed 3.0 N/A test_cloudsearch_results_matched N/A N/A self N/A N/A N/A 
        Check that information objects are passed back through the API
        correctly.
         N/A search N/A SearchConnection endpoint HOSTNAME N/A query N/A N/A search build_query q Test N/A results N/A search query N/A N/A N/A self assertEqual N/A results search_service search N/A N/A N/A self assertEqual N/A results query query N/A test_cloudsearch_results_hits N/A N/A self N/A N/A N/A Check that documents are parsed properly from AWS N/A search N/A SearchConnection endpoint HOSTNAME N/A results N/A N/A search search q Test N/A hits N/A list N/A map N/A N/A N/A x N/A N/A x N/A id N/A results docs N/A N/A N/A self assertEqual hits N/A 12341 12342 12343 12344 12345 12346 12347 N/A test_cloudsearch_results_iterator N/A N/A self N/A N/A N/A Check the results iterator N/A search N/A SearchConnection endpoint HOSTNAME N/A results N/A N/A search search q Test N/A results_correct N/A iter N/A 12341 12342 12343 12344 12345 12346 12347 N/A x results N/A N/A N/A N/A self assertEqual N/A x N/A id N/A next results_correct N/A test_cloudsearch_results_internal_consistancy N/A N/A self N/A N/A N/A Check the documents length matches the iterator details N/A search N/A SearchConnection endpoint HOSTNAME N/A results N/A N/A search search q Test N/A N/A N/A self assertEqual N/A len results N/A len N/A results docs N/A test_cloudsearch_search_nextpage N/A N/A self N/A N/A N/A Check next page query is correct N/A search N/A SearchConnection endpoint HOSTNAME N/A query1 N/A N/A search build_query q Test N/A query2 N/A N/A search build_query q Test N/A results N/A search query2 N/A N/A N/A self assertEqual N/A N/A N/A N/A results next_page query start N/A N/A query1 start N/A query1 size N/A N/A N/A self assertEqual N/A query1 q N/A query2 q N/A N/A CloudSearchSearchFacetTest N/A CloudSearchSearchBaseTest N/A N/A response N/A rank match-expr hits info facets -text_relevance Test N/A found start hit 30 0 N/A CloudSearchSearchBaseTest hits N/A rid time-ms cpu-time-ms b7c167f6c2da6d93531b9a7b314ad030b3a74803b4b7797edb905ba5a6a08 2 0 N/A tags animals N/A N/A constraints N/A N/A count value 2 fish N/A count value 1 lions test_cloudsearch_search_facets N/A N/A self N/A N/A N/A search N/A SearchConnection endpoint HOSTNAME N/A results N/A N/A search search q Test facet N/A tags N/A N/A N/A self assertTrue N/A tags N/A results facets N/A N/A N/A self assertEqual N/A N/A results facets N/A animals N/A lions fish 1 2 N/A N/A CloudSearchNonJsonTest N/A CloudSearchSearchBaseTest N/A N/A response <html><body><h1>500 Internal Server Error</h1></body></html> N/A response_status 500 N/A content_type text/xml test_response N/A N/A self N/A N/A N/A search N/A SearchConnection endpoint HOSTNAME N/A N/A N/A self assertRaises SearchServiceException N/A N/A N/A N/A search search q Test N/A N/A CloudSearchUnauthorizedTest N/A CloudSearchSearchBaseTest N/A N/A response <html><body><h1>403 Forbidden</h1>foo bar baz</body></html> N/A response_status 403 N/A content_type text/html test_response N/A N/A self N/A N/A N/A search N/A SearchConnection endpoint HOSTNAME N/A N/A N/A self assertRaisesRegexp SearchServiceException foo bar baz N/A N/A N/A N/A search search q Test N/A N/A FakeResponse N/A object N/A N/A status_code 405 N/A content N/A CloudSearchConnectionTest N/A N/A unittest TestCase N/A N/A cloudsearch True setUp N/A N/A self N/A N/A N/A N/A N/A N/A super CloudSearchConnectionTest self setUp N/A N/A self conn N/A SearchConnection endpoint test-domain.cloudsearch.amazonaws.com N/A test_expose_additional_error_info N/A N/A self N/A N/A N/A mpo N/A N/A mock patch object N/A fake N/A FakeResponse N/A N/A fake content Nopenopenope N/A N/A mpo requests get return_value fake mock_request N/A N/A N/A N/A self assertRaises SearchServiceException cm N/A N/A N/A N/A N/A self conn search q not_gonna_happen N/A N/A N/A self assertTrue N/A non-json response N/A str N/A cm exception N/A N/A N/A self assertTrue N/A Nopenopenope N/A str N/A cm exception N/A N/A fake content N/A N/A N/A N/A json dumps N/A error Something went wrong. Oops. encode utf-8 N/A N/A mpo requests get return_value fake mock_request N/A N/A N/A N/A self assertRaises SearchServiceException cm N/A N/A N/A N/A N/A self conn search q no_luck_here N/A N/A N/A self assertTrue N/A Unknown error N/A str N/A cm exception N/A N/A N/A self assertTrue N/A went wrong. Oops N/A str N/A cm exception N/A N/A