def METHOD_NAME(make_data_dir):
    # Axon
    data_dir = make_data_dir  # tmp_path_factory.mktemp("data")
    layer_names = ["average_10um"] * 3
    data_file = (
        Path(os.path.abspath(__file__)).parents[3]
        / "docs"
        / "notebooks"
        / "pipelines"
        / "BrainLine"
        / "axon_data.json"
    )
    util.download_subvolumes(
        data_dir=data_dir,
        brain_id="pytest",
        layer_names=layer_names,
        dataset_to_save="val",
        data_file=data_file,
    )
    output_dir = data_dir / "brainpytest" / "val"
    files = os.listdir(output_dir)
    assert len(files) == 2
    # Soma
    data_file = (
        Path(os.path.abspath(__file__)).parents[3]
        / "docs"
        / "notebooks"
        / "pipelines"
        / "BrainLine"
        / "soma_data.json"
    )
    util.download_subvolumes(
        data_dir=data_dir,
        brain_id="pytest_download",
        layer_names=layer_names,
        dataset_to_save="val",
        data_file=data_file,
    )
    output_dir = data_dir / "brainpytest_download" / "val"
    files = os.listdir(output_dir)
    assert len(files) == 2