#NEWLINE# @ patch ( 'roost.notify' ) #NEWLINE# def test_debounce( self , notify ) : #NEWLINE# #INDENT# self . service . on_data ( 'xbee.data' , notify . data ) #NEWLINE# self . service . on_data ( 'xbee.data' , self . data ) #NEWLINE# eq_ ( notify . call_count , 1 )