mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-22 15:13:50 -06:00
ipatests: mark test_ca_show_error_handling as xfail
With PKI 11.5.0, the test test_cert.py::TestCAShowErrorHandling::test_ca_show_error_handling is failing with an exception and a different error message. Mark as xfail until PKI provides a fix Related: https://pagure.io/freeipa/issue/9606 Signed-off-by: Florence Blanc-Renaud <flo@redhat.com> Reviewed-By: Francisco Trivino <ftrivino@redhat.com>
This commit is contained in:
parent
58154be74f
commit
4521fe5f91
@ -25,6 +25,7 @@ from pkg_resources import parse_version
|
||||
|
||||
from ipatests.pytest_ipa.integration import tasks
|
||||
from ipatests.test_integration.base import IntegrationTest
|
||||
from ipatests.util import xfail_context
|
||||
|
||||
DEFAULT_RA_AGENT_SUBMITTED_VAL = '19700101000000'
|
||||
|
||||
@ -555,7 +556,11 @@ class TestCAShowErrorHandling(IntegrationTest):
|
||||
)
|
||||
error_msg = 'ipa: ERROR: The certificate for ' \
|
||||
'{} is not available on this server.'.format(lwca)
|
||||
assert error_msg in result.stderr_text
|
||||
bad_version = (tasks.get_pki_version(self.master)
|
||||
>= tasks.parse_version('11.5.0'))
|
||||
with xfail_context(bad_version,
|
||||
reason="https://pagure.io/freeipa/issue/9606"):
|
||||
assert error_msg in result.stderr_text
|
||||
|
||||
def test_certmonger_empty_cert_not_segfault(self):
|
||||
"""Test empty cert request doesn't force certmonger to segfault
|
||||
|
Loading…
Reference in New Issue
Block a user