fix wrong testinfra functions
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c9eed87785
commit
9016d61384
@ -11,12 +11,12 @@ testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
|
|||||||
|
|
||||||
def test_ldap_proxy_is_installed(host):
|
def test_ldap_proxy_is_installed(host):
|
||||||
ldap_proxy_server = host.package("openldap-servers")
|
ldap_proxy_server = host.package("openldap-servers")
|
||||||
ldap_proxy_client = host.package("openldap-client")
|
ldap_proxy_client = host.package("openldap-clients")
|
||||||
assert ldap_proxy_server.is_installed
|
assert ldap_proxy_server.is_installed
|
||||||
assert ldap_proxy_client.is_installed
|
assert ldap_proxy_client.is_installed
|
||||||
|
|
||||||
|
|
||||||
def test_ldap_proxy_running_and_enabled(host):
|
def test_ldap_proxy_running_and_enabled(host):
|
||||||
ldap_proxy = host.service("sldapd")
|
ldap_proxy = host.service("slapd")
|
||||||
assert ldap_proxy.is_running
|
assert ldap_proxy.is_running
|
||||||
assert ldap_proxy.is_enabled
|
assert ldap_proxy.is_enabled
|
||||||
|
Loading…
Reference in New Issue
Block a user