#NEWLINE# def test_get_primary_key_column( self ) : #NEWLINE# #INDENT# with connection . cursor ( ) as cursor : #NEWLINE# #INDENT# primary_key_column = connection . introspection . get_primary_key_column ( primary_key_column , Article . _meta . db_table ) #NEWLINE# #UNINDENT# self . assertEqual ( primary_key_column , 'id' )