class_docstr: Tests DAG processor.
docstr: Standalone Dag Processor was only added from Airflow 2.3 onwards.
docstr_tok: ["Standalone","Dag","Processor","was","only","added","from","Airflow","2.3","onwards","."]
code: def test_only_exists_on_new_airflow_versions(
      self, airflow_version, num_docs
  ):
      """Standalone Dag Processor was only added from Airflow 2.3 onwards."""
      docs = render_chart(
          values={
              "airflowVersion": airflow_version,
              "dagProcessor": {"enabled": True},
          },
          show_only=[
              "templates/dag-processor/dag-processor-deployment.yaml"
          ],
      )
  
      assert num_docs == len(docs)
  
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 1 for calling the TestDagProcessor obj's underlying member method code with example usage: obj.test_only_exists_on_new_airflow_versions(airflow_version, num_docs) without return types