#NEWLINE# def _testPool_2( self , res ) : #NEWLINE# #INDENT# sql = 'select count(1) from simple' #NEWLINE# d = self . dbpool . runQuery ( self ) #NEWLINE# def _check( row ) : #NEWLINE# #INDENT# self . assertTrue ( ( int ( row [ 0 ] [ 0 ] ) == 0 ) , 'Interaction not rolled back' ) #NEWLINE# self . checkOpenfunCalled ( ) #NEWLINE# #UNINDENT# d . addCallback ( _check ) #NEWLINE# return d