code: def test_sender_status(request_mocker):
      request_mocker.url_mapping["*good"] = 200
      request_mocker.url_mapping["*forbidden"] = 403
      resp = requests.get("https://example.org/good")
  
      assert resp.status_code == 200
      assert resp.text == "OK"
  
      resp.raise_for_status()
      resp = requests.get("https://example.org/forbidden")
  
      assert resp.status_code == 403
      assert resp.text == "ERROR"
      with pytest.raises(requests.HTTPError, match="Error"):
          resp.raise_for_status()
  
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 4 for calling a global function with example usage: test_sender_status(request_mocker) without return types