class_docstr: Tests worker.
class_docstr_tok: ["Tests","worker","."]
code: def test_livenessprobe_default_command(
      self, airflow_version, default_cmd
  ):
      docs = render_chart(
          values={"airflowVersion": airflow_version},
          show_only=["templates/workers/worker-deployment.yaml"],
      )
  
      livenessprobe_cmd = jmespath.search(
          "spec.template.spec.containers[0].livenessProbe.exec.command",
          docs[0],
      )
      assert default_cmd in livenessprobe_cmd[-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 19 for calling the TestWorker obj's underlying member method code with example usage: obj.test_livenessprobe_default_command(airflow_version, default_cmd) without return types