Files @ b1b2928c582b
Branch filter:

Location: majic-ansible-roles/roles/ldap_client/tests/test_mandatory.py

branko
Noticket: Fixed two tests related to application user profile directory in php_website role, and renamed two tests to make more sense.
import testinfra.utils.ansible_runner

testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
    '.molecule/ansible_inventory').get_hosts('parameters-mandatory')


def test_ldap_configuration_file_content(File):
    """
    Tests if LDAP configuration file has correct content
    """

    config = File('/etc/ldap/ldap.conf')

    assert config.content == ""