#NEWLINE# def test_proxy_inheritance( self ) : #NEWLINE# #INDENT# obj = CharFieldDefinition . objects . create ( name = 'caca' , max_length = 25 , model_def = self . model_def ) #NEWLINE# save_obj = self . model_def . fielddefinitions . select_subclasses ( ) . get ( ) #NEWLINE# self . assertEqual ( obj , obj ) #NEWLINE# Model = self . model_def . model_class ( ) #NEWLINE# Model . objects . create ( caca = 'NO WAY' )