class_docstr: Tests result backend connection secret.
class_docstr_tok: ["Tests","result","backend","connection","secret","."]
code: def test_should_correctly_handle_password_with_special_characters(
      self,
  ):
      values = {
          "data": {
              "resultBackendConnection": {
                  **self.non_chart_database_values,
                  "user": "username@123123",
                  "pass": "password@!@#$^&*()",
              },
          }
      }
      connection = self._get_connection(values)
  
      assert (
          "db+postgresql://username%40123123:password%40%21%40%23$%5E&%2A%28%29@somehost:7777/"
          "somedb?sslmode=allow" == connection
      )
  
file_path: airflow/helm_tests/security/test_result_backend_connection_secret.py
imports: from __future__ import annotations
  import base64
  import jmespath
  import pytest
  from tests.charts.helm_template_generator import render_chart
label_desc: Use image node_id 14 for calling the TestResultBackendConnectionSecret obj's underlying member method code with example usage: obj.test_should_correctly_handle_password_with_special_characters() without return types