class_docstr: Tests webserver deployment.
class_docstr_tok: ["Tests","webserver","deployment","."]
code: def test_no_dags_mount_or_volume_or_gitsync_sidecar_expected(
      self, airflow_version, dag_values
  ):
      docs = render_chart(
          values={
              "dags": dag_values,
              "airflowVersion": airflow_version,
          },
          show_only=["templates/webserver/webserver-deployment.yaml"],
      )
  
      assert "dags" not in [
          vm["name"]
          for vm in jmespath.search(
              "spec.template.spec.containers[0].volumeMounts", docs[0]
          )
      ]
      assert "dags" not in [
          vm["name"]
          for vm in jmespath.search(
              "spec.template.spec.volumes", docs[0]
          )
      ]
      assert 1 == len(
          jmespath.search("spec.template.spec.containers", 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 34 for calling the TestWebserverDeployment obj's underlying member method code with example usage: obj.test_no_dags_mount_or_volume_or_gitsync_sidecar_expected(airflow_version, dag_values) without return types