@@ -27,7 +27,7 @@ def test_removed_packages(host):
def test_smtp_relay_truststore_file(host):
"""
Tests if SMTP relay truststore has correct permissions
Tests if SMTP relay truststore has correct permissions and content.
truststore = host.file('/etc/ssl/certs/smtp_relay_truststore.pem')
@@ -36,6 +36,7 @@ def test_smtp_relay_truststore_file(host):
assert truststore.user == 'root'
assert truststore.group == 'root'
assert truststore.mode == 0o644
assert truststore.content_string == open("tests/data/x509/truststore.pem", "r").read().rstrip()
def test_smtp_mailname(host):