#NEWLINE# @ run_in_both ( Person , "['_first_name_logger']" ) #NEWLINE# def test_handler_get_name( Person ) : #NEWLINE# #INDENT# res1 = [ ] #NEWLINE# def func1( * events ) : #NEWLINE# #INDENT# for ev in events : #NEWLINE# #INDENT# res1 . append ( ev . new_value ) #NEWLINE# #UNINDENT# #UNINDENT# name = Person ( ) #NEWLINE# handler1 = name . connect ( func1 , 'first_name' , 'last_name' ) #NEWLINE# res1 . append ( name . _first_name_logger . get_name ( ) ) #NEWLINE# assert handler1 . get_name ( ) #NEWLINE# return res1