#NEWLINE# def test_get_table_description_types( self ) : #NEWLINE# #INDENT# with connection . cursor ( ) as cursor : #NEWLINE# #INDENT# desc = connection . introspection . get_table_description ( cursor , Reporter . _meta . db_table ) #NEWLINE# #UNINDENT# self . assertEqual ( [ datatype ( r [ 1 ] , r ) for r in desc ] , [ ( 'AutoField' if connection . features . can_introspect_autofield else 'IntegerField' ) , 'CharField' , 'CharField' , 'CharField' , ( 'BigIntegerField' if connection . features . can_introspect_big_integer_field else 'IntegerField' ) , ( 'BinaryField' if connection . features . can_introspect_binary_field else 'TextField' ) , ( 'SmallIntegerField' if connection . features . can_introspect_small_integer_field else 'IntegerField' ) ] )