code: def test_sender_path(request_mocker, tmp_path):
      file_path = tmp_path / "readme.txt"
      with file_path.open("w") as f:
          f.write("hello")
      request_mocker.url_mapping["*path"] = str(file_path)
      request_mocker.url_mapping["*content"] = file_path
  
      resp = requests.get("https://example.org/path")
  
      assert resp.text == str(file_path)
  
      resp = requests.get("https://example.org/content")
  
      assert resp.text == "hello"
  
imports: import re
  import tarfile
  import zipfile
  from pathlib import Path
  import pytest
  import requests
  from nilearn import image
  from nilearn._utils.data_gen import generate_fake_fmri
  from nilearn.datasets.tests import _testing
label_desc: Use image node_id 8 for calling a global function with example usage: test_sender_path(request_mocker, tmp_path) without return types