File diff 9f0f315631e4 → 6c1d08d39449
roles/mail_forwarder/molecule/default/tests/test_optional.py
Show inline comments
 
@@ -123,6 +123,6 @@ def test_tls_enforced_towards_relay_mail_server(host):
 

	
 
        with host.sudo():
 
            mail_log = host.file('/var/log/mail.log')
 
            pattern = "%s: to=<root@domain1>, relay=domain1.*status=deferred \(Server certificate not verified\)" % message_id
 
            pattern = r"%s: to=<root@domain1>, relay=domain1.*status=deferred \(Server certificate not verified\)" % message_id
 

	
 
            assert re.search(pattern, mail_log.content) is not None