code: def test_copy_images(app, status, warning):
      app.build()
  
      images_dir = Path(app.outdir) / "_images"
      images = {image.name for image in images_dir.rglob("*")}
      images.discard("python-logo.png")
      assert images == {
          "img.png",
          "rimg.png",
          "rimg1.png",
          "svgimg.svg",
          "testimäge.png",
      }
  
imports: import os
  import subprocess
  from pathlib import Path
  from subprocess import CalledProcessError
  from xml.etree import ElementTree
  import pytest
  from sphinx.builders.epub3 import _XML_NAME_PATTERN
label_desc: Use image node_id 14 for calling a global function with example usage: test_copy_images(app, status, warning) without return types