class_docstr: Tests worker.
class_docstr_tok: ["Tests","worker","."]
code: def test_default_command_and_args_airflow_version(
      self, airflow_version, expected_arg
  ):
      docs = render_chart(
          values={
              "airflowVersion": airflow_version,
          },
          show_only=["templates/workers/worker-deployment.yaml"],
      )
  
      assert (
          jmespath.search(
              "spec.template.spec.containers[0].command", docs[0]
          )
          is None
      )
      assert [
          "bash",
          "-c",
          f"exec \\\n{expected_arg}",
      ] == jmespath.search(
          "spec.template.spec.containers[0].args", 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 29 for calling the TestWorker obj's underlying member method code with example usage: obj.test_default_command_and_args_airflow_version(airflow_version, expected_arg) without return types