#NEWLINE# def test_roi_ignores_small_drags( self ) : #NEWLINE# #INDENT# e = Event ( 1 , 2 ) #NEWLINE# e2 = Event ( 1 , 3 ) #NEWLINE# self . mode . press ( e ) #NEWLINE# self . mode . move ( e2 ) #NEWLINE# assert ( self . mode . _roi_tool . start_selection . call_count == 0 ) #NEWLINE# assert ( self . mode . _roi_tool . update_selection . call_count == 0 )