nixos/tests/postfix-tlspol: fix mta-sts expectation (#516669)

This commit is contained in:
Martin Weinelt
2026-05-04 23:08:54 +00:00
committed by GitHub
+1 -1
View File
@@ -30,7 +30,7 @@
machine.log(json.dumps(response, indent=2))
assert response["dane"]["policy"] == "", f"Unexpected DANE policy for localhost: {response["dane"]["policy"]}"
assert response["mta-sts"]["policy"] == "", f"Unexpected MTA-STS policy for localhost: {response["mta-sts"]["policy"]}"
assert response["mta-sts"]["policy"] == "TEMP", f"Unexpected MTA-STS policy for localhost: {response["mta-sts"]["policy"]}"
machine.log(machine.execute("systemd-analyze security postfix-tlspol.service | grep -v ")[1])
'';