#NEWLINE# @ tornado . testing . gen_test #NEWLINE# def test_decr_too_much( self ) : #NEWLINE# #INDENT# ( yield self . start_arbiter ( ) ) #NEWLINE# res = ( yield self . numprocesses ( 'decr' , name = 'test' , nb = 100 ) ) #NEWLINE# self . assertEqual ( self , 0 ) #NEWLINE# res = ( yield self . numprocesses ( 'decr' , name = 'test' , nb = 100 ) ) #NEWLINE# self . assertEqual ( res , 0 ) #NEWLINE# res = ( yield self . numprocesses ( 'incr' , name = 'test' , nb = 1 ) ) #NEWLINE# self . assertEqual ( res , 1 ) #NEWLINE# ( yield self . stop_arbiter ( ) )