class_docstr: Tests PgBouncer config.
class_docstr_tok: ["Tests","PgBouncer","config","."]
code: def test_config_defaults(self):
      ini = self._get_pgbouncer_ini({"pgbouncer": {"enabled": True}})
  
      assert "listen_port = 6543" in ini
      assert "stats_users = postgres" in ini
      assert "max_client_conn = 100" in ini
      assert "verbose = 0" in ini
      assert "log_disconnections = 0" in ini
      assert "log_connections = 0" in ini
      assert "server_tls_sslmode = prefer" in ini
      assert "server_tls_ciphers = normal" in ini
  
      assert "server_tls_ca_file = " not in ini
      assert "server_tls_cert_file = " not in ini
      assert "server_tls_key_file = " not 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 5 for calling the TestPgbouncerConfig obj's underlying member method code with example usage: obj.test_config_defaults() without return types