#NEWLINE# @ patch ( 'rerun.rerun.get_changed_files' ) #NEWLINE# @ patch ( 'rerun.rerun.act' ) #NEWLINE# @ patch ( 'rerun.rerun.time.sleep' , Mock ( ) ) #NEWLINE# def test_step_doesnt_call_act_if_no_changed_files( self , mock_act , mock_changed ) : #NEWLINE# #INDENT# mock_changed . return_value = [ ] #NEWLINE# options = Mock ( ignore = [ ] ) #NEWLINE# step ( mock_changed ) #NEWLINE# self . assertIsNone ( mock_act . call_args )