Changeset - a0e0015117c1
[Not reviewed]
0 1 0
Branko Majic (branko) - 6 years ago 2020-01-06 21:04:57
branko@majic.rs
MAR-148: Fix the ldap_client role tests (newline in expected content).
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
roles/ldap_client/molecule/default/tests/test_optional.py
Show inline comments
 
@@ -16,11 +16,12 @@ def test_ldap_configuration_file_content(host):
 
TLS_CACERT /etc/ssl/certs/testca.cert.pem
 
# Ensure TLS is enforced
 
TLS_REQCERT demand
 
# Default URI to connect to
 
URI ldaps://ldap-server/
 
# Base entry
 
BASE dc=local"""
 
BASE dc=local
 
"""
 

	
 
    config = host.file('/etc/ldap/ldap.conf')
 

	
 
    assert config.content == expected_content
0 comments (0 inline, 0 general)