Tests: test successful PKINIT install on replica

Add a test checking that ipa-replica-install successfully configures
PKINIT on the replica

Related to https://pagure.io/freeipa/issue/7566

Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
Florence Blanc-Renaud 2018-09-04 15:50:28 +02:00
parent 2a227c240f
commit bcfd18f336

View File

@ -208,6 +208,9 @@ class TestReplicaPromotionLevel1(ReplicaPromotionBase):
'-r', self.master.domain.realm,
'--server', self.master.hostname,
'-U'])
# Ensure that pkinit is properly configured, test for 7566
result = self.replicas[0].run_command(['ipa-pkinit-manage', 'status'])
assert "PKINIT is enabled" in result.stdout_text
@pytest.mark.skip(reason="Domain level 0 is not supported anymore")