File diff a932640479cf → 16ec0de22bf3
roles/ldap_server/molecule/default/tests/test_default.py
Show inline comments
 
@@ -29,13 +29,13 @@ def test_ldap_server_service_sockets_and_ports(host):
 
    """
 
    Tests if LDAP server has been configured to listen on correct sockets.
 
    """
 

	
 
    assert host.socket('tcp://389').is_listening
 
    assert host.socket('tcp://636').is_listening
 
    assert host.socket('unix:///var/run/slapd/ldapi').is_listening
 
    assert host.socket('unix:///run/slapd/ldapi').is_listening
 

	
 

	
 
def test_ldap_server_service(host):
 
    """
 
    Tests if the LDAP service is enabled and running.
 
    """