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