class_docstr: Tests PgBouncer config.
class_docstr_tok: ["Tests","PgBouncer","config","."]
code: def test_config_overrides(self):
      values = {
          "pgbouncer": {
              "enabled": True,
              "maxClientConn": 111,
              "verbose": 2,
              "logDisconnections": 1,
              "logConnections": 1,
              "sslmode": "verify-full",
              "ciphers": "secure",
          },
          "ports": {"pgbouncer": 7777},
          "data": {"metadataConnection": {"user": "someuser"}},
      }
      ini = self._get_pgbouncer_ini(values)
  
      assert "listen_port = 7777" in ini
      assert "stats_users = someuser" in ini
      assert "max_client_conn = 111" in ini
      assert "verbose = 2" in ini
      assert "log_disconnections = 1" in ini
      assert "log_connections = 1" in ini
      assert "server_tls_sslmode = verify-full" in ini
      assert "server_tls_ciphers = secure" in ini
  
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 6 for calling the TestPgbouncerConfig obj's underlying member method code with example usage: obj.test_config_overrides() without return types