class_docstr: Tests PgBouncer exporter.
class_docstr_tok: ["Tests","PgBouncer","exporter","."]
code: def test_default_exporter_secret(self):
      connection = self._get_connection(
          {"pgbouncer": {"enabled": True}}
      )
      assert (
          "postgresql://postgres:postgres@127.0.0.1:6543/pgbouncer?sslmode=disable"
          == connection
      )
  
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 TestPgbouncerExporter obj's underlying member method code with example usage: obj.test_default_exporter_secret() without return types