#NEWLINE# @ patch ( 'rerun.rerun.clear_screen' ) #NEWLINE# @ patch ( 'rerun.rerun.sys.stdout' ) #NEWLINE# @ patch ( 'rerun.rerun.subprocess.call' ) #NEWLINE# def test_act_without_verbose_doesnt_print_changed_files( self , mock_call , mock_stdout , mock_clear ) : #NEWLINE# #INDENT# options = Mock ( command = 'mycommand' , shell = 'myshell' , verbose = False ) #NEWLINE# act ( [ 'mychanges' ] , options , False ) #NEWLINE# self . assertEqual ( mock_call . write . call_args_list , [ call ( 'mycommand' ) , call ( '\n' ) ] )