code: def test_palette_image(resources, outpdf):
      check_ocrmypdf(
          resources / "palette.pdf",
          outpdf,
          "-c",
          "--plugin",
          "tests/plugins/tesseract_noop.py",
      )
  
file_path: OCRmyPDF/tests/test_unpaper.py
imports: from __future__ import annotations
  import logging
  from os import fspath
  from unittest.mock import patch
  import pytest
  from packaging.version import Version
  from ocrmypdf._exec import unpaper
  from ocrmypdf._plugin_manager import get_parser_options_plugins
  from ocrmypdf._validation import check_options
  from ocrmypdf.exceptions import BadArgsError, ExitCode, MissingDependencyError
  from .conftest import check_ocrmypdf, have_unpaper, run_ocrmypdf_api
label_desc: Use image node_id 8 for calling a global function with example usage: test_palette_image(resources, outpdf) without return types