code: def test_log_groomer_collector_can_be_disabled(self):
      if self.obj_name == "dag-processor":
          values = {
              "dagProcessor": {
                  "enabled": True,
                  "logGroomerSidecar": {"enabled": False},
              }
          }
      else:
          values = {
              f"{self.folder}": {
                  "logGroomerSidecar": {"enabled": False}
              }
          }
  
      docs = render_chart(
          values=values,
          show_only=[
              f"templates/{self.folder}/{self.obj_name}-deployment.yaml"
          ],
      )
  
      actual = jmespath.search("spec.template.spec.containers", docs[0])
  
      assert len(actual) == 1
  
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 2 for calling the LogGroomerTestBase obj's underlying member method code with example usage: obj.test_log_groomer_collector_can_be_disabled() without return types