#NEWLINE# def create_actor( node ) : #NEWLINE# #INDENT# actor_manager = ActorManager ( node ) #NEWLINE# actor_id = actor_manager . new ( 'std.Identity' , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# actor = actor_manager . actors [ actor_id ] #NEWLINE# actor . _calvinsys = Mock ( ) #NEWLINE# return actor_manager