#NEWLINE# @ patch ( 'salt.modules.cp.hash_file' , MagicMock ( return_value = False ) ) #NEWLINE# def test_get_file_not_found( self ) : #NEWLINE# #INDENT# "\n        Test if get_file can't find the file.\n        " #NEWLINE# path = 'salt://saltines' #NEWLINE# dest = '/srv/salt/cheese' #NEWLINE# ret = '' #NEWLINE# self . assertEqual ( cp . get_file ( path , dest ) , ret )