#NEWLINE# def test_name( self ) : #NEWLINE# #INDENT# field = Field . _meta . get_field_by_name ( 'name' ) [ 0 ] #NEWLINE# self . assertEqual ( field . __class__ , models . CharField ) #NEWLINE# self . assertEqual ( field . max_length , 100 )