class_docstr: Tests logs PVC.
code: def test_should_set_pvc_details_correctly(self):
      docs = render_chart(
          values={
              "logs": {
                  "persistence": {
                      "enabled": True,
                      "size": "1G",
                      "existingClaim": None,
                      "storageClassName": "MyStorageClass",
                  }
              }
          },
          show_only=["templates/logs-persistent-volume-claim.yaml"],
      )
  
      assert {
          "accessModes": ["ReadWriteMany"],
          "resources": {"requests": {"storage": "1G"}},
          "storageClassName": "MyStorageClass",
      } == jmespath.search("spec", docs[0])
  
file_path: airflow/helm_tests/airflow_aux/test_logs_persistent_volume_claim.py
imports: from __future__ import annotations
  import jmespath
  from tests.charts.helm_template_generator import render_chart
label_desc: Use image node_id 4 for calling the TestLogsPersistentVolumeClaim obj's underlying member method code with example usage: obj.test_should_set_pvc_details_correctly() without return types