class_docstr: Tests scheduler.
class_docstr_tok: ["Tests","scheduler","."]
code: def test_scheduler_template_storage_class_name(self):
      docs = render_chart(
          values={
              "workers": {
                  "persistence": {
                      "storageClassName": "{{ .Release.Name }}-storage-class",
                      "enabled": True,
                  }
              },
              "logs": {"persistence": {"enabled": False}},
              "executor": "LocalExecutor",
          },
          show_only=["templates/scheduler/scheduler-deployment.yaml"],
      )
      assert "release-name-storage-class" == jmespath.search(
          "spec.volumeClaimTemplates[0].spec.storageClassName", 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 37 for calling the TestScheduler obj's underlying member method code with example usage: obj.test_scheduler_template_storage_class_name() without return types