#NEWLINE# def test_identity_key_3( self ) : #NEWLINE# #INDENT# ( User , users ) = ( self . classes . User , self . tables . users ) #NEWLINE# mapper ( User , self ) #NEWLINE# row = { #NEWLINE# #INDENT# users . c . id : 1 , #NEWLINE# users . c . name : 'Frank' , #NEWLINE# #UNINDENT# } #NEWLINE# key = orm_util . identity_key ( User , row = row ) #NEWLINE# eq_ ( key , ( User , ( 1 , ) ) )