nixbot

builds

failed treefmt-check checks.x86_64-linux.treefmt · build #676 · raw

1treefmt v2.4.0traversed 943 files2emitted 233 files for processing3formatted 233 files (1 changed) in 579ms4 M testinfra/test_ami_nix.py5diff --git a/testinfra/test_ami_nix.py b/testinfra/test_ami_nix.py6index 879e4c4..ea67dd3 1006447--- a/testinfra/test_ami_nix.py8+++ b/testinfra/test_ami_nix.py9@@ -1162,16 +1162,18 @@ def test_supabase_monitor_admin_role_is_passwordless_and_reachable_on_loopback(h10 has no password and relies on the same pg_hba trust rules.11 12 Unlike the other service roles, this role must never be given a password in13- nix/tools/postgresql_schema.sql or the fixture at the top of this file. 14+ nix/tools/postgresql_schema.sql or the fixture at the top of this file.15 It should only be accessible from localhost.16 """17 ssh = host["ssh"]18- psql_admin = "sudo -u postgres psql -U supabase_admin -h localhost -d postgres -At -c "19+ psql_admin = (20+ "sudo -u postgres psql -U supabase_admin -h localhost -d postgres -At -c "21+ )22 23 result = run_ssh_command(24 ssh,25 psql_admin26- + "\"select rolcanlogin, rolpassword is null, rolbypassrls, rolsuper, "27+ + '"select rolcanlogin, rolpassword is null, rolbypassrls, rolsuper, '28 "rolcreaterole, rolcreatedb, rolreplication "29 "from pg_authid where rolname = 'supabase_monitor_admin'\"",30 )