class_docstr: Tests DAG processor.
code: def test_airflow_local_settings(self):
      docs = render_chart(
          values={
              "dagProcessor": {"enabled": True},
              "airflowLocalSettings": "# Well hello!",
          },
          show_only=[
              "templates/dag-processor/dag-processor-deployment.yaml"
          ],
      )
      volume_mount = {
          "name": "config",
          "mountPath": "/opt/airflow/config/airflow_local_settings.py",
          "subPath": "airflow_local_settings.py",
          "readOnly": True,
      }
      assert volume_mount in jmespath.search(
          "spec.template.spec.containers[0].volumeMounts", docs[0]
      )
      assert volume_mount in jmespath.search(
          "spec.template.spec.initContainers[0].volumeMounts", docs[0]
      )
  
imports: from __future__ import annotations
  import jmespath
  import pytest
  from tests.charts.helm_template_generator import render_chart
  from tests.charts.log_groomer import LogGroomerTestBase
label_desc: Use image node_id 29 for calling the TestDagProcessor obj's underlying member method code with example usage: obj.test_airflow_local_settings() without return types