code: def test_read_spreadsheet(
      read_spreadsheet: Callable[..., pl.DataFrame],
      source: str,
      engine_params: dict[str, str],
      request: pytest.FixtureRequest,
  ) -> None:
      sheet_params: dict[str, Any]
  
      for sheet_params in (  # type: ignore[assignment]
          {"sheet_name": None, "sheet_id": None},
          {"sheet_name": "test1"},
          {"sheet_id": 1},
      ):
          df = read_spreadsheet(
              source=request.getfixturevalue(source),
              **engine_params,
              **sheet_params,
          )
          expected = pl.DataFrame({"hello": ["Row 1", "Row 2"]})
          assert_frame_equal(df, expected)
  
imports: from __future__ import annotations
  import warnings
  from collections import OrderedDict
  from datetime import date, datetime
  from io import BytesIO
  from typing import TYPE_CHECKING, Any, Callable, Literal
  import pytest
  import polars
  import polars.selectors
  from polars.exceptions import NoDataError, ParameterCollisionError
  from polars.testing import assert_frame_equal
label_desc: Use image node_id 7 for calling a global function with example usage: test_read_spreadsheet(read_spreadsheet, source, engine_params, request) without return types