class_docstr: Tests webserver deployment.
class_docstr_tok: ["Tests","webserver","deployment","."]
code: def test_should_add_extraEnvs_to_wait_for_migration_container(self):
      docs = render_chart(
          values={
              "webserver": {
                  "waitForMigrations": {
                      "env": [
                          {"name": "TEST_ENV_1", "value": "test_env_1"}
                      ],
                  },
              },
          },
          show_only=["templates/webserver/webserver-deployment.yaml"],
      )
  
      assert {
          "name": "TEST_ENV_1",
          "value": "test_env_1",
      } in jmespath.search(
          "spec.template.spec.initContainers[0].env", 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 12 for calling the TestWebserverDeployment obj's underlying member method code with example usage: obj.test_should_add_extraEnvs_to_wait_for_migration_container() without return types