class_docstr: Tests scheduler.
class_docstr_tok: ["Tests","scheduler","."]
code: def test_disable_wait_for_migration(self):
      docs = render_chart(
          values={
              "scheduler": {
                  "waitForMigrations": {"enabled": False},
              },
          },
          show_only=["templates/scheduler/scheduler-deployment.yaml"],
      )
      actual = jmespath.search(
          "spec.template.spec.initContainers[?name=='wait-for-airflow-migrations']",
          docs[0],
      )
      assert actual is None
  
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 3 for calling the TestScheduler obj's underlying member method code with example usage: obj.test_disable_wait_for_migration() without return types