class_docstr: Tests PgBouncer config.
class_docstr_tok: ["Tests","PgBouncer","config","."]
code: def test_databases_default(self):
      ini = self._get_pgbouncer_ini({"pgbouncer": {"enabled": True}})
  
      assert (
          "release-name-metadata = host=release-name-postgresql.default dbname=postgres port=5432"
          " pool_size=10" in ini
      )
      assert (
          "release-name-result-backend = host=release-name-postgresql.default dbname=postgres port=5432"
          " pool_size=5" 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 3 for calling the TestPgbouncerConfig obj's underlying member method code with example usage: obj.test_databases_default() without return types