#NEWLINE# def test_name_attribute( self ) : #NEWLINE# #INDENT# class Person_ES ( resource . Resource ) : #NEWLINE# #INDENT# name_attribute = 'nombre' #NEWLINE# nombre = resource . prop ( 'nombre' ) #NEWLINE# #UNINDENT# name = 'Brian' #NEWLINE# args = { #NEWLINE# #INDENT# 'nombre' : name , #NEWLINE# #UNINDENT# } #NEWLINE# person = Person_ES ( args ) #NEWLINE# self . assertEqual ( name , person . nombre ) #NEWLINE# self . assertEqual ( name , person . name ) #NEWLINE# new_name = 'Julien' #NEWLINE# person . name = new_name #NEWLINE# self . assertEqual ( new_name , person . nombre ) #NEWLINE# self . assertEqual ( new_name , person . name )