class_docstr: Tests webserver deployment.
class_docstr_tok: ["Tests","webserver","deployment","."]
code: def test_should_add_scheme_to_liveness_and_readiness_and_startup_probes(
      self,
  ):
      docs = render_chart(
          values={
              "webserver": {
                  "livenessProbe": {"scheme": "HTTPS"},
                  "readinessProbe": {"scheme": "HTTPS"},
                  "startupProbe": {"scheme": "HTTPS"},
              }
          },
          show_only=["templates/webserver/webserver-deployment.yaml"],
      )
  
      assert "HTTPS" in jmespath.search(
          "spec.template.spec.containers[0].livenessProbe.httpGet.scheme",
          docs[0],
      )
      assert "HTTPS" in jmespath.search(
          "spec.template.spec.containers[0].readinessProbe.httpGet.scheme",
          docs[0],
      )
      assert "HTTPS" in jmespath.search(
          "spec.template.spec.containers[0].startupProbe.httpGet.scheme",
          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 TestWebserverDeployment obj's underlying member method code with example usage: obj.test_should_add_scheme_to_liveness_and_readiness_and_startup_probes() without return types