code: def test_rotate_interaction(poster, outpdf):
      check_ocrmypdf(
          poster,
          outpdf,
          "--output-type=pdf",
          "--rotate-pages",
          "--plugin",
          "tests/plugins/tesseract_cache.py",
      )
  
file_path: OCRmyPDF/tests/test_userunit.py
imports: from __future__ import annotations
  from math import isclose
  import pytest
  from ocrmypdf.exceptions import ExitCode
  from ocrmypdf.pdfinfo import PdfInfo
  from .conftest import check_ocrmypdf, run_ocrmypdf_api
label_desc: Use image node_id 3 for calling a global function with example usage: test_rotate_interaction(poster, outpdf) without return types