nixos/tests/postfix-tlspol: fix mta-sts expectation (#516669)
This commit is contained in:
@@ -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])
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user