#NEWLINE# def test_field_types( self ) : #NEWLINE# #INDENT# skip_fields = [ getattr ( models . fields . related , 'ForeignObject' , None ) , getattr ( models . fields , 'GenericIPAddressField' , None ) , getattr ( models . fields . proxy , 'OrderWrt' , None ) , getattr ( models . fields , 'BinaryField' , None ) , getattr ( models . fields , 'FilePathField' , None ) , getattr ( models . fields , 'DurationField' , None ) , getattr ( models . fields , 'UUIDField' , None ) ] #NEWLINE# for ( key , value ) in models . __dict__ . iteritems ( ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# bases = inspect . getmro ( value ) #NEWLINE# #UNINDENT# except AttributeError : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# if ( ( models . fields . Field in bases ) and ( value not in bases ) ) : #NEWLINE# #INDENT# assert getattr ( fields , key )