code: def test_download_resource_file__nosha256(urlretrieve_mock, tmp_path):
      def dummy_urlretrieve(url, local_path):
          local_path.touch()
  
      urlretrieve_mock.side_effect = dummy_urlretrieve
      _download_resource_file(
          file_url="test_url",
          short_name="test_file.txt",
          directory=tmp_path,
      )
      urlretrieve_mock.assert_called_with(
          "test_url", tmp_path / "test_file.txt.part"
      )
      expected_file = tmp_path / "test_file.txt"
      assert expected_file.exists()
  
file_path: pyproj/test/test_sync.py
imports: from datetime import datetime, timedelta
  from unittest.mock import MagicMock, patch
  from urllib.error import URLError
  import pytest
  from pyproj.aoi import BBox
  from pyproj.sync import _download_resource_file, _load_grid_geojson, _sha256sum, get_transform_grid_list
label_desc: Use image node_id 10 for calling a global function with example usage: test_download_resource_file__nosha256(urlretrieve_mock, tmp_path) without return types