ipatests: Test if server setup without dns uninstall properly
IPA server uninstall was failing if dns was not setup. This test check if it uninstalls propelry. related: https://pagure.io/freeipa/issue/8630 Signed-off-by: Mohammad Rizwan <myusuf@redhat.com> Reviewed-By: Kaleemullah Siddiqui <ksiddiqu@redhat.com> Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
1 parent
573d66e1f9
commit
69d480003b
1 file changed
+27
@@ -0,0 +1,27 @@
|
||||
#
|
||||
# Copyright (C) 2020 FreeIPA Contributors see COPYING for license
|
||||
#
|
||||
|
||||
"""
|
||||
Module for ipa uninstall related scenarios.
|
||||
"""
|
||||
|
||||
from ipatests.pytest_ipa.integration import tasks
|
||||
from ipatests.test_integration.base import IntegrationTest
|
||||
|
||||
|
||||
class TestUninstallWithoutDNS(IntegrationTest):
|
||||
|
||||
@classmethod
|
||||
def install(cls, mh):
|
||||
tasks.install_master(cls.master, setup_dns=False)
|
||||
|
||||
def test_uninstall_server_without_dns(self):
|
||||
"""Test if server setup without dns uninstall properly
|
||||
|
||||
IPA server uninstall was failing if dns was not setup.
|
||||
This test check if it uninstalls propelry.
|
||||
|
||||
related: https://pagure.io/freeipa/issue/8630
|
||||
"""
|
||||
tasks.uninstall_master(self.master)
|
||||
Reference in new issue
Block a user