From 9016d61384152d19265531f830970bb82ca9aea3 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Wed, 18 Sep 2019 21:28:25 +0200 Subject: [PATCH] fix wrong testinfra functions --- molecule/ec2-centos-7/tests/test_default.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/molecule/ec2-centos-7/tests/test_default.py b/molecule/ec2-centos-7/tests/test_default.py index 1579dfc..ed18619 100644 --- a/molecule/ec2-centos-7/tests/test_default.py +++ b/molecule/ec2-centos-7/tests/test_default.py @@ -11,12 +11,12 @@ testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner( def test_ldap_proxy_is_installed(host): 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_client.is_installed 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_enabled