class_docstr: Tests create user job.
class_docstr_tok: ["Tests","create","user","job","."]
code: def test_should_add_extra_containers(self):
      docs = render_chart(
          values={
              "createUserJob": {
                  "extraContainers": [
                      {
                          "name": "test-container",
                          "image": "test-registry/test-repo:test-tag",
                      }
                  ],
              },
          },
          show_only=["templates/jobs/create-user-job.yaml"],
      )
  
      assert {
          "name": "test-container",
          "image": "test-registry/test-repo:test-tag",
      } == jmespath.search("spec.template.spec.containers[-1]", docs[0])
  
imports: from __future__ import annotations
  import jmespath
  import pytest
  from tests.charts.helm_template_generator import render_chart
label_desc: Use image node_id 9 for calling the TestCreateUserJob obj's underlying member method code with example usage: obj.test_should_add_extra_containers() without return types