#NEWLINE# def test_identity_key_scalar( self ) : #NEWLINE# #INDENT# ( User , users ) = ( self . classes . User , self . tables . users ) #NEWLINE# mapper ( User , users ) #NEWLINE# key = orm_util . identity_key ( User , 1 ) #NEWLINE# eq_ ( key , ( User , ( 1 , ) ) ) #NEWLINE# key = orm_util . identity_key ( User , ident = 1 ) #NEWLINE# eq_ ( key , ( User , ( 1 , ) ) )