#NEWLINE# @ patch ( 'os.path.exists' , MagicMock ( return_value = False ) ) #NEWLINE# def test_cache_local_file_not_exists( self ) : #NEWLINE# #INDENT# '\n        Test if cache_local_file handles a nonexistent file.\n        ' #NEWLINE# path = 'saltk//saltines' #NEWLINE# ret = '' #NEWLINE# self . assertEqual ( cp . cache_local_file ( path ) , ret )