ipatests: check that zonemgr is set correctly during server install

Add test to check that zonemgr is correctly
set when installing IPA server.

Related: https://pagure.io/freeipa/issue/8718
Signed-off-by: Antonio Torres <antorres@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
Antonio Torres 2021-02-16 18:24:26 +01:00 committed by Florence Blanc-Renaud
parent 04e57e6fd4
commit 4fc1e15c7c

View File

@ -1171,6 +1171,13 @@ class TestInstallMasterDNS(IntegrationTest):
extra_args=['--zonemgr', 'me@example.org'],
)
tasks.kinit_admin(self.master)
result = self.master.run_command(
['ipa', 'dnszone-show', self.master.domain.name]
).stdout_text
assert "Administrator e-mail address: me.example.org" in result
def test_server_install_lock_bind_recursion(self):
"""Test if server installer lock Bind9 recursion