class_docstr: Tests scheduler.
class_docstr_tok: ["Tests","scheduler","."]
code: def test_startupprobe_command_depends_on_airflow_version(
      self, airflow_version, probe_command
  ):
      docs = render_chart(
          values={"airflowVersion": f"{airflow_version}"},
          show_only=["templates/scheduler/scheduler-deployment.yaml"],
      )
      assert (
          probe_command
          in jmespath.search(
              "spec.template.spec.containers[0].startupProbe.exec.command",
              docs[0],
          )[-1]
      )
  
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 18 for calling the TestScheduler obj's underlying member method code with example usage: obj.test_startupprobe_command_depends_on_airflow_version(airflow_version, probe_command) without return types