Module ImportFrom alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias Assign NameStore Str Assign NameStore Num Assign NameStore Str Assign NameStore Num Assign NameStore Str Assign NameStore Num Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore ListLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Global identifier Assign NameStore ListLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict NameLoad NameLoad NameLoad Dict AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Dict AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Dict AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index AttributeLoad NameLoad attr Index Num Expr Call NameLoad UnaryOpNot SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call NameLoad CompareNotIn NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad CompareLt NameLoad NameLoad decorator_list decorator_list
N/A mock MagicMock nose.tools eq_ ok_ pylease.cmd.rollback Rollback Stage tests PyleaseTest N/A stage1 stage1 N/A stage1_priority 0 N/A stage2 stage2 N/A stage2_priority 2 N/A stage3 stage3 N/A stage3_priority 1 N/A stage1_mock N/A MagicMock N/A stage2_mock N/A MagicMock N/A stage3_mock N/A MagicMock N/A stage_execution_queue N/A RollbackTest N/A PyleaseTest N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super RollbackTest self setUp N/A stage_execution_queue N/A stage_execution_queue N/A N/A SomeRollback N/A Rollback N/A stage1_rollback N/A N/A self N/A N/A N/A N/A stage1_mock N/A N/A N/A stage_execution_queue append stage1_mock N/A N/A Stage stage1 stage1_priority stage2_rollback N/A N/A self N/A N/A N/A N/A stage2_mock N/A N/A N/A stage_execution_queue append stage2_mock N/A N/A Stage stage2 stage2_priority stage3_rollback N/A N/A self N/A N/A N/A N/A stage3_mock N/A N/A N/A stage_execution_queue append stage3_mock N/A N/A Stage stage3 stage3_priority N/A test_rollback_mechanism_should_generate_appropriate_dictionary N/A N/A self N/A N/A N/A rollback N/A N/A self SomeRollback N/A expected_stages N/A stage1 stage2 stage3 N/A N/A rollback stage1_rollback N/A stage1_priority False N/A N/A rollback stage2_rollback N/A stage2_priority False N/A N/A rollback stage3_rollback N/A stage3_priority False N/A N/A eq_ expected_stages N/A rollback _stages N/A test_it_must_be_possible_to_cherry_pick_enable_rollback_stages N/A N/A self N/A N/A N/A rollback N/A N/A self SomeRollback N/A N/A N/A rollback enable_stage stage2 N/A N/A ok_ N/A N/A N/A N/A rollback _stages N/A stage2 N/A N/A rollback stage2_rollback N/A 1 N/A N/A ok_ N/A N/A N/A N/A N/A rollback _stages N/A stage1 N/A N/A rollback stage1_rollback N/A 1 N/A test_rollback_mechanism_should_execute_enabled_stages_in_correct_order N/A N/A self N/A N/A N/A rollback N/A N/A self SomeRollback N/A N/A N/A rollback enable_stage stage2 N/A N/A N/A rollback enable_stage stage3 N/A N/A N/A rollback rollback N/A N/A ok_ N/A stage1_mock stage_execution_queue N/A N/A N/A stage2_mock assert_called_once_with N/A N/A N/A stage3_mock assert_called_once_with N/A stage2_index N/A N/A stage_execution_queue index stage2_mock N/A stage3_index N/A N/A stage_execution_queue index stage3_mock N/A N/A ok_ N/A stage2_index stage3_index N/A N/A