code: def test_log_groomer_command_and_args_overrides_are_templated(self):
      if self.obj_name == "dag-processor":
          values = {
              "dagProcessor": {
                  "enabled": True,
                  "logGroomerSidecar": {
                      "command": ["{{ .Release.Name }}"],
                      "args": ["{{ .Release.Service }}"],
                  },
              }
          }
      else:
          values = {
              f"{self.folder}": {
                  "logGroomerSidecar": {
                      "command": ["{{ .Release.Name }}"],
                      "args": ["{{ .Release.Service }}"],
                  }
              }
          }
  
      docs = render_chart(
          values=values,
          show_only=[
              f"templates/{self.folder}/{self.obj_name}-deployment.yaml"
          ],
      )
  
      assert ["release-name"] == jmespath.search(
          "spec.template.spec.containers[1].command", docs[0]
      )
      assert ["Helm"] == jmespath.search(
          "spec.template.spec.containers[1].args", docs[0]
      )
  
file_path: airflow/tests/charts/log_groomer.py
imports: from __future__ import annotations
  import jmespath
  import pytest
  from tests.charts.helm_template_generator import render_chart
label_desc: Use image node_id 6 for calling the LogGroomerTestBase obj's underlying member method code with example usage: obj.test_log_groomer_command_and_args_overrides_are_templated() without return types