freeipa/ipatests/test_ipaserver
Fraser Tweedale 421fc376cc Fix upgrade when named.conf does not exist
Commit aee0d2180c adds an upgrade step
that adds system crypto policy include to named.conf.  This step
omitted the named.conf existence check; upgrade fails when it does
not exist.  Add the existence check.

Also update the test to add the IPA-related part of the named.conf
config, because the "existence check" actually does more than just
check that the file exists - it also check that it contains the IPA
bind-dyndb-ldap configuration section.

Part of: https://pagure.io/freeipa/issue/4853

Reviewed-By: Christian Heimes <cheimes@redhat.com>
2018-03-28 12:30:31 +02:00
..
data ipa-otptoken-import: Make PBKDF2 refer to the pkcs5 namespace 2017-09-01 10:50:34 +02:00
test_install Fix upgrade when named.conf does not exist 2018-03-28 12:30:31 +02:00
__init__.py
httptest.py
test_changepw.py Unified ldap_initialize() function 2018-02-15 18:32:17 +01:00
test_dnssec.py
test_ipap11helper.py
test_kadmin.py
test_ldap.py Replace nose with unittest and pytest 2017-12-12 16:16:58 +01:00
test_otptoken_import.py OTP import: support hash names with HMAC- prefix 2017-09-18 11:37:31 +02:00
test_rpcserver.py
test_secrets.py
test_serverroles.py Add marker needs_ipaapi and option to skip tests 2017-12-11 20:40:06 +01:00
test_topology_plugin.py Use os.path.isfile() and isdir() 2017-10-20 12:27:19 +02:00
test_version_comparison.py