Skip to content

Commit 2c306de

Browse files
committed
fix: typo
1 parent c9f08c8 commit 2c306de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

testinfra/test_ami_nix.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -716,9 +716,9 @@ def test_pam_postgresql_config(host):
716716
perms = result["stdout"].strip()
717717
print(f"PAM config permissions: {perms}")
718718
# Should be owned by postgres:postgres with 664 permissions
719-
assert (
720-
"postgres postgres" in perms
721-
), "PAM config not owned by postgres:postgres"
719+
assert "postgres postgres" in perms, (
720+
"PAM config not owned by postgres:postgres"
721+
)
722722
else:
723723
print("\nPAM config file not found")
724724
assert False, "PAM configuration file /etc/pam.d/postgresql not found"

0 commit comments

Comments
 (0)