code: def test_fetch_icbm152_2009(tmp_path, request_mocker):
      dataset = struct.fetch_icbm152_2009(
          data_dir=str(tmp_path), verbose=0
      )
  
      assert isinstance(dataset.csf, str)
      assert isinstance(dataset.eye_mask, str)
      assert isinstance(dataset.face_mask, str)
      assert isinstance(dataset.gm, str)
      assert isinstance(dataset.mask, str)
      assert isinstance(dataset.pd, str)
      assert isinstance(dataset.t1, str)
      assert isinstance(dataset.t2, str)
      assert isinstance(dataset.t2_relax, str)
      assert isinstance(dataset.wm, str)
      assert request_mocker.url_count == 1
      assert dataset.description != ""
  
file_path: nilearn/nilearn/datasets/tests/test_struct.py
imports: from pathlib import Path
  import numpy
  import pandas
  import pytest
  from nibabel import Nifti1Image
  from nilearn.datasets import struct
  from nilearn.datasets.tests._testing import dict_to_archive, list_to_archive
label_desc: Use image node_id 1 for calling a global function with example usage: test_fetch_icbm152_2009(tmp_path, request_mocker) without return types