class_docstr: Tests webserver deployment.
class_docstr_tok: ["Tests","webserver","deployment","."]
code: def test_wait_for_migration_airflow_version(
      self, airflow_version, expected_arg
  ):
      docs = render_chart(
          values={
              "airflowVersion": airflow_version,
          },
          show_only=["templates/webserver/webserver-deployment.yaml"],
      )
      # Don't test the full string, just the length of the expect matches
      actual = jmespath.search(
          "spec.template.spec.initContainers[0].args", docs[0]
      )
      assert expected_arg == actual[: len(expected_arg)]
  
imports: from __future__ import annotations
  import jmespath
  import pytest
  from tests.charts.helm_template_generator import render_chart
label_desc: Use image node_id 13 for calling the TestWebserverDeployment obj's underlying member method code with example usage: obj.test_wait_for_migration_airflow_version(airflow_version, expected_arg) without return types