class_docstr: Tests pod template file.
class_docstr_tok: ["Tests","pod","template","file","."]
code: def test_should_set_a_custom_image_in_pod_template(self):
      docs = render_chart(
          values={
              "images": {
                  "pod_template": {
                      "repository": "dummy_image",
                      "tag": "latest",
                      "pullPolicy": "Always",
                  }
              }
          },
          show_only=["templates/pod-template-file.yaml"],
          chart_dir=self.temp_chart_dir,
      )
  
      assert re.search("Pod", docs[0]["kind"])
      assert "dummy_image:latest" == jmespath.search(
          "spec.containers[0].image", docs[0]
      )
      assert "Always" == jmespath.search(
          "spec.containers[0].imagePullPolicy", docs[0]
      )
      assert "base" == jmespath.search(
          "spec.containers[0].name", docs[0]
      )
  
imports: from __future__ import annotations
  import re
  from pathlib import Path
  from shutil import copyfile, copytree
  from tempfile import TemporaryDirectory
  import jmespath
  import pytest
  from helm_tests.airflow_aux.test_container_lifecycle import CONTAINER_LIFECYCLE_PARAMETERS
  from tests.charts.helm_template_generator import render_chart
label_desc: Use image node_id 12 for calling the TestPodTemplateFile obj's underlying member method code with example usage: obj.test_should_set_a_custom_image_in_pod_template() without return types