#NEWLINE# @ patch ( 'time.time' ) #NEWLINE# @ patch ( 'roost.notify' ) #NEWLINE# def test_no_debounce_after_10_seconds( self , notify , time ) : #NEWLINE# #INDENT# time . return_value = 0 #NEWLINE# self . service . on_data ( 'xbee.data' , self . data ) #NEWLINE# time . return_value = 11 #NEWLINE# self . service . on_data ( 'xbee.data' , self . data ) #NEWLINE# eq_ ( notify . call_count , 2 )