Module Import alias Import alias ImportFrom alias ImportFrom alias ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body For NameStore AttributeLoad NameLoad attr body Expr Yield NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Return Call NameLoad keyword ListLoad NameLoad decorator_list NameLoad decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Return Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad ListLoad Num Num Num Num Num Num Assert CompareEq SubscriptLoad NameLoad Slice Num Num ListLoad Num Num Assert CompareEq Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad ListLoad Num Num Num Num Num Num Assign AttributeStore NameLoad attr Num Assert CompareEq SubscriptLoad NameLoad Slice Num Num ListLoad Assert CompareEq Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad ListLoad Num Num Num Num Num Num Assign AttributeStore NameLoad attr Num Assert CompareEq SubscriptLoad NameLoad Slice Num Num ListLoad Num Num Num Num Assert CompareEq Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad ListLoad Num Num Num Num Num Num Expr SubscriptLoad NameLoad Slice Num Num With Call AttributeLoad NameLoad attr NameLoad body Expr SubscriptLoad NameLoad Slice Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad ListLoad Num Num Num Num Num Num With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad Num Num Num Num Num Num keyword ListLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr SubscriptLoad NameLoad Slice Num Num Assert CompareEq AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad Num Num Num Num Num Num keyword ListLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr SubscriptLoad NameLoad Slice Num Num Assert CompareIs AttributeLoad NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Lambda arguments args defaults vararg kwarg NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad Assert CompareIs Call AttributeLoad NameLoad attr Str keyword Str NameLoad Assert CompareEq AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr Str keyword Str keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareIs Call NameLoad Num NameLoad Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad NameLoad attr keyword ListLoad TupleLoad Str Str TupleLoad Str Num decorator_list
N/A N/A pretend N/A pytest webob.multidict MultiDict warehouse.utils paginate FakeSuggestion N/A N/A __init__ N/A N/A self options N/A N/A N/A N/A self options options N/A N/A FakeSuggest N/A N/A __init__ N/A N/A self name_suggestion N/A N/A N/A N/A self name_suggestion name_suggestion N/A N/A FakeResult N/A N/A __init__ N/A N/A self data total N/A N/A N/A N/A self data data N/A N/A self total total N/A hits N/A N/A self N/A N/A N/A N/A N/A pretend stub total N/A self total N/A property __iter__ N/A N/A self N/A N/A N/A i N/A self data N/A N/A N/A i N/A N/A FakeSuggestResult N/A FakeResult N/A __init__ N/A N/A self data total options N/A N/A N/A N/A N/A N/A super __init__ data total N/A N/A self options options N/A suggest N/A N/A self N/A N/A N/A suggestion N/A FakeSuggestion options N/A self options N/A N/A FakeSuggest name_suggestion N/A suggestion N/A property N/A FakeQuery N/A N/A __init__ N/A N/A self fake N/A N/A N/A N/A self fake fake N/A N/A self range N/A slice None N/A __getitem__ N/A N/A self range N/A N/A N/A N/A self range range N/A self N/A results N/A N/A self N/A N/A N/A N/A N/A pretend stub hits N/A N/A pretend stub total N/A len N/A self fake N/A property execute N/A N/A self N/A N/A N/A N/A FakeResult N/A N/A self fake N/A N/A self range N/A len N/A self fake N/A N/A FakeSuggestQuery N/A FakeQuery N/A __init__ N/A N/A self fake options N/A N/A N/A N/A N/A N/A super __init__ fake N/A N/A self options options N/A execute N/A N/A self N/A N/A N/A data N/A N/A self fake N/A N/A self range N/A total N/A len N/A self fake N/A N/A FakeSuggestResult data total N/A self options N/A N/A TestElasticsearchWrapper N/A N/A test_slices_and_length N/A N/A self N/A N/A N/A wrapper N/A N/A paginate _ElasticsearchWrapper N/A FakeQuery N/A 1 2 3 4 5 6 N/A N/A N/A wrapper N/A 1 3 N/A 2 3 N/A N/A N/A len wrapper 6 N/A test_slice_start_clamps_to_max N/A N/A self N/A N/A N/A wrapper N/A N/A paginate _ElasticsearchWrapper N/A FakeQuery N/A 1 2 3 4 5 6 N/A N/A wrapper max_results 5 N/A N/A N/A wrapper N/A 6 10 N/A N/A N/A N/A len wrapper 5 N/A test_slice_end_clamps_to_max N/A N/A self N/A N/A N/A wrapper N/A N/A paginate _ElasticsearchWrapper N/A FakeQuery N/A 1 2 3 4 5 6 N/A N/A wrapper max_results 5 N/A N/A N/A wrapper N/A 1 10 N/A 2 3 4 5 N/A N/A N/A len wrapper 5 N/A test_second_slice_fails N/A N/A self N/A N/A N/A wrapper N/A N/A paginate _ElasticsearchWrapper N/A FakeQuery N/A 1 2 3 4 5 6 N/A N/A wrapper N/A 1 3 N/A N/A N/A pytest raises RuntimeError N/A N/A N/A wrapper N/A 1 3 N/A test_len_before_slice_fails N/A N/A self N/A N/A N/A wrapper N/A N/A paginate _ElasticsearchWrapper N/A FakeQuery N/A 1 2 3 4 5 6 N/A N/A N/A pytest raises RuntimeError N/A N/A N/A len wrapper N/A test_best_guess_suggestion N/A N/A self N/A N/A N/A fake_option N/A N/A pretend stub N/A query N/A FakeSuggestQuery N/A 1 2 3 4 5 6 options N/A fake_option N/A wrapper N/A N/A paginate _ElasticsearchWrapper query N/A N/A wrapper N/A 1 3 N/A N/A N/A wrapper best_guess fake_option N/A test_best_guess_suggestion_no_options N/A N/A self N/A N/A N/A query N/A FakeSuggestQuery N/A 1 2 3 4 5 6 options N/A N/A wrapper N/A N/A paginate _ElasticsearchWrapper query N/A N/A wrapper N/A 1 3 N/A N/A N/A wrapper best_guess None N/A N/A test_elasticsearch_page_has_wrapper N/A N/A monkeypatch N/A N/A N/A page_obj N/A N/A pretend stub N/A page_cls N/A N/A pretend call_recorder N/A N/A N/A N/A a kw page_obj N/A N/A N/A monkeypatch setattr paginate Page page_cls N/A N/A N/A N/A paginate ElasticsearchPage first second foo page_obj N/A N/A N/A page_cls calls N/A N/A N/A pretend call first second foo wrapper_class N/A paginate _ElasticsearchWrapper N/A test_paginate_url N/A N/A pyramid_request N/A N/A N/A N/A pyramid_request GET N/A MultiDict N/A pyramid_request GET N/A N/A N/A pyramid_request GET N/A foo bar N/A url N/A N/A pretend stub N/A N/A pyramid_request current_route_path N/A N/A pretend call_recorder N/A N/A N/A _query N/A url N/A url_maker N/A N/A paginate paginate_url_factory pyramid_request N/A N/A N/A url_maker 5 url N/A N/A N/A N/A pyramid_request current_route_path calls N/A N/A N/A pretend call _query N/A N/A foo bar N/A page 5 N/A