Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias Assign NameStore Call NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr If Call NameLoad body Expr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Str attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Str attr For NameStore NameLoad body If CompareNotIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Num Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr keyword Str Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assert CompareIn AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore ListLoad For NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListComp TupleLoad NameLoad SubscriptLoad Call AttributeLoad SubscriptLoad NameLoad Index Str attr Index Num comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr BoolOpAnd CompareGt Call NameLoad SubscriptLoad NameLoad Index Str Num Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore ListLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr While BoolOpAnd Call AttributeLoad NameLoad attr UnaryOpNot Call NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad While BoolOpAnd Call AttributeLoad NameLoad attr CompareLt Call NameLoad NameLoad BinOpAdd NameLoad Num body Expr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad If CompareEq Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareIn Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assert CompareEq Call NameLoad NameLoad Call NameLoad NameLoad Assert CompareNotEq NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad decorator_list decorator_list
N/A N/A StringIO N/A threading N/A time django.core management django.db connection django.test.testcases TransactionTestCase olympia.amo.search get_es olympia.amo.tests addon_factory ESTestCase olympia.amo.urlresolvers reverse olympia.amo.utils urlparams olympia.lib.es.utils is_reindexing_amo unflag_reindexing_amo N/A ES N/A get_es TestIndexCommand N/A ESTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestIndexCommand self setUp N/A N/A is_reindexing_amo N/A N/A N/A unflag_reindexing_amo N/A N/A self url N/A reverse search.search N/A N/A self indices N/A N/A N/A N/A N/A N/A ES indices status N/A indices keys N/A _fixture_setup N/A N/A self N/A N/A N/A N/A N/A TransactionTestCase _fixture_setup self N/A _fixture_teardown N/A N/A self N/A N/A N/A N/A N/A TransactionTestCase _fixture_teardown self N/A tearDown N/A N/A self N/A N/A N/A current_indices N/A N/A N/A N/A N/A N/A ES indices status N/A indices keys N/A index current_indices N/A N/A N/A index N/A self indices N/A N/A N/A N/A N/A ES indices delete index ignore 404 N/A N/A N/A N/A super TestIndexCommand self tearDown N/A check_results N/A N/A self expected N/A N/A N/A Make sure the expected addons are listed in a standard search. N/A response N/A N/A N/A self client get N/A urlparams N/A self url sort downloads N/A N/A N/A response status_code 200 N/A got N/A N/A self get_results response N/A addon expected N/A N/A N/A N/A addon pk got N/A %s is not in %s N/A N/A addon pk got N/A response N/A get_results N/A N/A self response N/A N/A N/A Return pks of add-ons shown on search results page. N/A pager N/A N/A response context N/A pager N/A results N/A N/A page_num N/A range N/A N/A pager paginator num_pages N/A N/A N/A N/A results extend N/A N/A item pk N/A item N/A N/A N/A pager paginator page N/A page_num 1 N/A results N/A get_indices_aliases N/A N/A self N/A N/A N/A Return the test indices with an alias. N/A indices N/A N/A N/A ES indices get_aliases N/A items N/A N/A index N/A N/A N/A N/A aliases N/A aliases keys N/A 0 N/A N/A index aliases N/A N/A indices items N/A N/A N/A len N/A aliases N/A aliases 0 N/A N/A index startswith test N/A N/A N/A items sort N/A items N/A test_reindexation N/A N/A self N/A N/A N/A addon N/A addon_factory N/A N/A N/A self refresh N/A wanted N/A addon N/A N/A N/A self check_results wanted N/A old_indices N/A N/A self get_indices_aliases ReindexThread N/A N/A threading Thread N/A __init__ N/A N/A self N/A N/A N/A N/A self stdout N/A N/A StringIO StringIO N/A N/A N/A N/A super ReindexThread self __init__ N/A run N/A N/A self N/A N/A N/A N/A N/A time sleep 1 N/A N/A N/A management call_command reindex stdout N/A self stdout N/A N/A N/A t N/A ReindexThread N/A N/A N/A t start N/A N/A N/A N/A t is_alive N/A N/A is_reindexing_amo N/A N/A N/A N/A connection _commit N/A N/A N/A connection clean_savepoints N/A old_addons_count N/A len wanted N/A N/A N/A N/A t is_alive N/A N/A len wanted N/A old_addons_count 3 N/A N/A N/A N/A wanted append N/A addon_factory N/A N/A N/A connection _commit N/A N/A N/A connection clean_savepoints N/A N/A N/A self refresh N/A N/A N/A self check_results wanted N/A N/A N/A len wanted old_addons_count N/A N/A N/A AssertionError Could not index objects in foreground while reindexing in the background. N/A N/A N/A t join N/A N/A N/A N/A t stdout seek 0 N/A stdout N/A N/A N/A t stdout read N/A N/A Reindexation done stdout stdout N/A N/A N/A connection _commit N/A N/A N/A connection clean_savepoints N/A N/A N/A self refresh N/A N/A N/A self check_results wanted N/A new_indices N/A N/A self get_indices_aliases N/A N/A N/A len old_indices N/A len new_indices N/A N/A old_indices new_indices N/A stdout old_indices new_indices N/A N/A