class_docstr: Tests cleanup of pods.
class_docstr_tok: ["Tests","cleanup","of","pods","."]
code: def test_default_command_and_args(self):
      docs = render_chart(
          values={"cleanup": {"enabled": True}},
          show_only=["templates/cleanup/cleanup-cronjob.yaml"],
      )
  
      assert (
          jmespath.search(
              "spec.jobTemplate.spec.template.spec.containers[0].command",
              docs[0],
          )
          is None
      )
      assert [
          "bash",
          "-c",
          "exec airflow kubernetes cleanup-pods --namespace=default",
      ] == jmespath.search(
          "spec.jobTemplate.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
label_desc: Use image node_id 6 for calling the TestCleanupPods obj's underlying member method code with example usage: obj.test_default_command_and_args() without return types