def test_newDownload(self, mock_os_path, mock_requests_get):
        # delete file if exist
        mock_response = mock.Mock()
        mock_os_path.isfile.return_value = False   # Make the file NOT 'exist'

        #mock_response.get =
        mock_requests_get.return_value = mock_response
        download_torrent(self.torr_URL, 'test', self.logObj)
 def test_fileExist(self):
     pass
     # download file if NOT exist
     if not os.path.isfile(self.filename+'.torrent'):
         download_torrent(self.torr_URL, 'test', self.logObj)
     self.assertTrue(os.path.isfile(self.filename+'.torrent'))