From 4fc1e15c7c7bd86355f084fd303a41e8c669402a Mon Sep 17 00:00:00 2001 From: Antonio Torres Date: Tue, 16 Feb 2021 18:24:26 +0100 Subject: [PATCH] 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 Reviewed-By: Alexander Bokovoy Reviewed-By: Florence Blanc-Renaud --- ipatests/test_integration/test_installation.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ipatests/test_integration/test_installation.py b/ipatests/test_integration/test_installation.py index 6e8af024c..18c5bd243 100644 --- a/ipatests/test_integration/test_installation.py +++ b/ipatests/test_integration/test_installation.py @@ -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