class_docstr: Tests worker.
class_docstr_tok: ["Tests","worker","."]
code: def test_no_airflow_local_settings(self):
      docs = render_chart(
          values={"airflowLocalSettings": None},
          show_only=["templates/workers/worker-deployment.yaml"],
      )
      volume_mounts = jmespath.search(
          "spec.template.spec.containers[0].volumeMounts", docs[0]
      )
      assert "airflow_local_settings.py" not in str(volume_mounts)
      volume_mounts_init = jmespath.search(
          "spec.template.spec.containers[0].volumeMounts", docs[0]
      )
      assert "airflow_local_settings.py" not in str(volume_mounts_init)
  
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 25 for calling the TestWorker obj's underlying member method code with example usage: obj.test_no_airflow_local_settings() without return types