#NEWLINE# def test_identity_key( self ) : #NEWLINE# #INDENT# User = self . classes . User #NEWLINE# u1 = User ( name = 'ed' ) #NEWLINE# s = Session ( testing . db ) #NEWLINE# s . add ( u1 ) #NEWLINE# s . flush ( ) #NEWLINE# insp = inspect ( u1 ) #NEWLINE# eq_ ( insp . identity_key , ( User , ( u1 . id , ) ) )