#NEWLINE# def test_multiple_delays( self ) : #NEWLINE# #INDENT# expected = ( ( [ None ] * 10 ) + ( [ 6.0 ] * 10 ) ) #NEWLINE# results = list ( self . _check ( 20 , 'PUT' , '/anything' ) ) #NEWLINE# self . assertEqual ( expected , results ) #NEWLINE# self . time += 1.0 #NEWLINE# expected = ( [ 5.0 ] * 10 ) #NEWLINE# results = list ( self . _check ( 10 , 'PUT' , '/anything' ) ) #NEWLINE# self . assertEqual ( self , results ) #NEWLINE# expected = ( ( [ None ] * 2 ) + ( [ 30.0 ] * 8 ) ) #NEWLINE# results = list ( self . _check ( 10 , 'PUT' , '/anything' , 'user0' ) ) #NEWLINE# self . assertEqual ( expected , results )