Module ImportFrom alias alias alias Import alias Assert SubscriptLoad AttributeLoad NameLoad attr Index Str Import alias Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Str Import alias Assert CompareEq AttributeLoad NameLoad attr Num Import alias ImportFrom alias ImportFrom alias Expr Call AttributeLoad NameLoad attr Assign NameStore ListLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assert CompareIs AttributeLoad NameLoad attr NameLoad Assert CompareIs AttributeLoad NameLoad attr NameLoad Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assert CompareIs AttributeLoad NameLoad attr NameLoad Assert CompareIs AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assert CompareEq NameLoad Str Assert CompareEq NameLoad TupleLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assert CompareEq NameLoad Str Assert CompareEq NameLoad TupleLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assert CompareIs AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assert CompareIs AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assert CompareIs AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assert CompareIs AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Global identifier Assign NameStore Call NameLoad Assign NameStore Call NameLoad FunctionDef arguments args defaults body Global identifier Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Global identifier Expr Call AttributeLoad NameLoad attr Str decorator_list Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad NameLoad Index Num Str Assert CompareEq SubscriptLoad NameLoad Index Num Str decorator_list FunctionDef arguments args NameParam defaults body Global identifier Assign NameStore Call NameLoad Assign NameStore Call NameLoad FunctionDef arguments args defaults body Global identifier Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Global identifier Expr Call AttributeLoad NameLoad attr Str decorator_list Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad NameLoad Index Num Str Assert CompareEq SubscriptLoad NameLoad Index Num Str decorator_list FunctionDef arguments args NameParam defaults body Global identifier Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad FunctionDef arguments args defaults body Global identifier Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Global identifier Expr Call AttributeLoad NameLoad attr Str decorator_list Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assert CompareIs AttributeLoad NameLoad attr NameLoad Assert CompareEq SubscriptLoad NameLoad Index Num Str Assert CompareEq SubscriptLoad NameLoad Index Num Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assert CompareIs AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assert CompareIs AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assert CompareIs AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assert CompareIs AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Pass decorator_list Assign NameStore Call NameLoad
N/A __future__ division print_function unicode_literals N/A os N/A N/A N/A os environ N/A cocos_utest N/A sys N/A N/A N/A N/A sys path insert 0 pyglet_mockup1 N/A pyglet N/A N/A N/A pyglet mock_level 1 N/A pytest cocos.director director cocos.scene Scene N/A N/A N/A director init N/A rec N/A Test_run N/A object N/A test_0_initial_state N/A N/A self N/A N/A N/A N/A N/A director scene None N/A N/A N/A director next_scene None N/A N/A N/A len N/A director scene_stack 0 N/A test_1_run_once_and_twice N/A N/A self N/A N/A N/A scene0 N/A Scene N/A old_stack N/A list N/A director scene_stack N/A N/A N/A director run scene0 N/A N/A N/A director scene scene0 N/A N/A N/A director next_scene None N/A N/A N/A director scene_stack old_stack N/A test_2_push_delegates_to_on_push N/A N/A self N/A N/A N/A scene0 N/A director scene N/A scene1 N/A Scene N/A N/A director _utest_recorded_events N/A N/A N/A N/A director push scene1 N/A N/A evtype args N/A N/A director _utest_recorded_events N/A 0 N/A N/A evtype on_push N/A N/A args N/A scene1 N/A test_3_pop_delegates_to_on_pop N/A N/A self N/A N/A N/A N/A director _utest_recorded_events N/A N/A N/A N/A director pop N/A N/A evtype args N/A N/A director _utest_recorded_events N/A 0 N/A N/A evtype on_pop N/A N/A args N/A N/A test_4_on_push_on_pop_and_current_scene N/A N/A self N/A N/A N/A scene0 N/A director scene N/A scene1 N/A Scene N/A scene2 N/A Scene N/A N/A N/A director on_push scene1 N/A N/A N/A director on_draw N/A N/A N/A director scene scene1 N/A N/A N/A director on_push scene2 N/A N/A N/A director on_draw N/A N/A N/A director scene scene2 N/A N/A N/A director on_pop N/A N/A N/A director on_draw N/A N/A N/A director scene scene1 N/A N/A N/A director on_pop N/A N/A N/A director on_draw N/A N/A N/A director scene scene0 N/A test_5_on_push_calls_on_enter_on_exit N/A N/A self N/A N/A N/A rec N/A scene0 N/A Scene N/A scene1 N/A Scene on_exit N/A N/A N/A N/A N/A rec N/A N/A N/A rec append on_exit_called N/A on_enter N/A N/A N/A N/A N/A rec N/A N/A N/A rec append on_enter_called N/A N/A N/A scene0 on_exit on_exit N/A N/A scene1 on_enter on_enter N/A rec N/A N/A N/A N/A director on_push scene0 N/A N/A N/A director on_draw N/A rec N/A N/A N/A N/A director on_push scene1 N/A N/A N/A director on_draw N/A N/A N/A rec N/A 0 on_exit_called N/A N/A N/A rec N/A 1 on_enter_called N/A test_6_on_pop_calls_on_enter_on_exit N/A N/A self N/A N/A N/A rec N/A scene0 N/A Scene N/A scene1 N/A Scene on_exit N/A N/A N/A N/A N/A rec N/A N/A N/A rec append on_exit_called N/A on_enter N/A N/A N/A N/A N/A rec N/A N/A N/A rec append on_enter_called N/A N/A N/A scene0 on_enter on_enter N/A N/A scene1 on_exit on_exit N/A rec N/A N/A N/A N/A director on_push scene0 N/A N/A N/A director on_draw N/A N/A N/A director on_push scene1 N/A N/A N/A director on_draw N/A rec N/A N/A N/A N/A director on_pop N/A N/A N/A director on_draw N/A N/A N/A rec N/A 0 on_exit_called N/A N/A N/A rec N/A 1 on_enter_called N/A test_7_replace N/A N/A self N/A N/A N/A rec N/A scene0 N/A Scene N/A scene1 N/A Scene N/A scene2 N/A Scene on_exit N/A N/A N/A N/A N/A rec N/A N/A N/A rec append on_exit_called N/A on_enter N/A N/A N/A N/A N/A rec N/A N/A N/A rec append on_enter_called N/A N/A N/A scene1 on_exit on_exit N/A N/A scene2 on_enter on_enter N/A N/A N/A director on_push scene0 N/A N/A N/A director on_draw N/A N/A N/A director on_push scene1 N/A N/A N/A director on_draw N/A rec N/A N/A N/A N/A director replace scene2 N/A N/A N/A director on_draw N/A N/A N/A director scene scene2 N/A N/A N/A rec N/A 0 on_exit_called N/A N/A N/A rec N/A 1 on_enter_called N/A N/A N/A director on_pop N/A N/A N/A director on_draw N/A N/A N/A director scene scene0 N/A N/A TestRunningScene N/A object N/A N/A When a scene becomes the active scene the director
    must make sure that this scene has no parent anymore.
    This allows nodes to traverse up the tree and find the
    current running scene.
     test_0_replace N/A N/A self N/A N/A N/A scene N/A Scene N/A N/A N/A director run scene N/A new_scene N/A Scene N/A N/A new_scene parent not_None_value N/A N/A N/A director replace new_scene N/A N/A N/A director on_draw N/A N/A N/A new_scene parent None N/A test_1_push N/A N/A self N/A N/A N/A old_scene N/A Scene N/A N/A N/A director run old_scene N/A new_scene N/A Scene N/A N/A new_scene parent not_None_value N/A N/A N/A director on_push new_scene N/A N/A N/A director on_draw N/A N/A N/A new_scene parent None N/A test_2_pop N/A N/A self N/A N/A N/A scene N/A Scene N/A N/A N/A director run scene N/A new_scene N/A Scene N/A N/A N/A director on_push new_scene N/A N/A N/A director on_draw N/A N/A scene parent not_None_value N/A N/A N/A director on_pop N/A N/A N/A director on_draw N/A N/A N/A scene parent None N/A N/A NotNone N/A object N/A N/A N/A N/A not_None_value N/A NotNone