diff --git a/roles/ldap_server/tests/test_client.py b/roles/ldap_server/tests/test_client.py deleted file mode 100644 index bb7d08227076d0491fdadd50e7a3a9cb0d856d24..0000000000000000000000000000000000000000 --- a/roles/ldap_server/tests/test_client.py +++ /dev/null @@ -1,21 +0,0 @@ -import testinfra.utils.ansible_runner - -testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner( - '.molecule/ansible_inventory').get_hosts('client') - - -def test_connectivity(Command, Sudo): - - with Sudo(): - - ping = Command('hping3 -S -p 389 -c 1 10.31.127.10') - assert ping.rc == 0 - - ping = Command('hping3 -S -p 636 -c 1 10.31.127.10') - assert ping.rc == 0 - - ping = Command('hping3 -S -p 389 -c 1 10.31.127.11') - assert ping.rc == 0 - - ping = Command('hping3 -S -p 636 -c 1 10.31.127.11') - assert ping.rc == 0