class_docstr: Tests PgBouncer config.
class_docstr_tok: ["Tests","PgBouncer","config","."]
code: def test_auth_type_file_defaults(self):
      values = {
          "pgbouncer": {"enabled": True},
          "ports": {"pgbouncer": 7777},
          "data": {"metadataConnection": {"user": "someuser"}},
      }
      ini = self._get_pgbouncer_ini(values)
  
      assert "auth_type = scram-sha-256" in ini
      assert "auth_file = /etc/pgbouncer/users.txt" 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 7 for calling the TestPgbouncerConfig obj's underlying member method code with example usage: obj.test_auth_type_file_defaults() without return types