#NEWLINE# def test_remove_resource_file_skip_missing_files( self ) : #NEWLINE# #INDENT# issue = MagicMock ( ) #NEWLINE# issue . elements = [ [ 'dummy' ] ] #NEWLINE# with patch ( 'os.remove' ) as patch_remove : #NEWLINE# #INDENT# clean_app . remove_resource_file ( self , 'dummy' , False ) #NEWLINE# self . assertFalse ( patch_remove . called )