ipatests/test_integration/test_server_del.py: Enable dns in fw for dnssec

test_install_dns_on_replica1_and_dnssec_on_master now also enables the
dns servive in the firewall of the master.

See: https://pagure.io/freeipa/issue/7755
Signed-off-by: Thomas Woerner <twoerner@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
Thomas Woerner 2018-12-06 12:49:30 +01:00 committed by Christian Heimes
parent f86b410ff5
commit a6862bd7af

View File

@ -6,6 +6,7 @@ from itertools import permutations
from ipatests.test_integration.base import IntegrationTest
from ipatests.pytest_ipa.integration import tasks
from ipatests.pytest_ipa.integration.firewall import Firewall
from ipalib.constants import DOMAIN_LEVEL_1, DOMAIN_SUFFIX_NAME, CA_SUFFIX_NAME
REMOVAL_ERR_TEMPLATE = ("Removal of '{hostname}' leads to disconnected "
@ -264,6 +265,7 @@ class TestLastServices(ServerDelBase):
"-U",
]
self.master.run_command(args)
Firewall(self.master).enable_service("dns")
def test_removal_of_master_raises_error_about_dnssec(self):
tasks.assert_error(