class_docstr: Tests cleanup pods deployments.
class_docstr_tok: ["Tests","cleanup","pods","deployments","."]
code: def test_should_work_with_custom_schedule_string(
      self, release_name, schedule_value, schedule_result
  ):
      doc = render_chart(
          name=release_name,
          values={
              "cleanup": {
                  "enabled": True,
                  "schedule": schedule_value,
              },
          },
          show_only=["templates/cleanup/cleanup-cronjob.yaml"],
      )[0]
  
      assert doc["spec"]["schedule"] == schedule_result
  
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 TestCleanupDeployment obj's underlying member method code with example usage: obj.test_should_work_with_custom_schedule_string(release_name, schedule_value, schedule_result) without return types