We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9f08c8 commit 2c306deCopy full SHA for 2c306de
testinfra/test_ami_nix.py
@@ -716,9 +716,9 @@ def test_pam_postgresql_config(host):
716
perms = result["stdout"].strip()
717
print(f"PAM config permissions: {perms}")
718
# Should be owned by postgres:postgres with 664 permissions
719
- assert (
720
- "postgres postgres" in perms
721
- ), "PAM config not owned by postgres:postgres"
+ assert "postgres postgres" in perms, (
+ "PAM config not owned by postgres:postgres"
+ )
722
else:
723
print("\nPAM config file not found")
724
assert False, "PAM configuration file /etc/pam.d/postgresql not found"
0 commit comments