URL: https://github.com/freeipa/freeipa/pull/5886 Author: flo-renaud Title: #5886: [Backport][ipa-4-9] ipatests: Fix for test_source_ipahealthcheck_ipa_host_check_ipahostkeytab Action: opened
PR body: """ This PR was opened automatically because PR #5883 was pushed to master and backport to ipa-4-9 is required. """ To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/5886/head:pr5886 git checkout pr5886
From 3b7591d7e1620ee1807799f87eb1d7882ccd9de0 Mon Sep 17 00:00:00 2001 From: Sudhir Menon <[email protected]> Date: Fri, 9 Jul 2021 13:44:12 +0530 Subject: [PATCH] ipatests: Fix for test_source_ipahealthcheck_ipa_host_check_ipahostkeytab Expected error message has been modified for test_source_ipahealthcheck_ipa_host_check_ipahostkeytab Related: https://pagure.io/freeipa/issue/8889 Signed-off-by: Sudhir Menon <[email protected]> --- ipatests/test_integration/test_ipahealthcheck.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ipatests/test_integration/test_ipahealthcheck.py b/ipatests/test_integration/test_ipahealthcheck.py index 305d7b94506..f6a3043f168 100644 --- a/ipatests/test_integration/test_ipahealthcheck.py +++ b/ipatests/test_integration/test_ipahealthcheck.py @@ -499,9 +499,6 @@ def test_source_ipahealthcheck_ipa_host_check_ipahostkeytab(self): from host's keytab. """ msg = ( - "Failed to obtain host TGT: Major (458752): " - "No credentials were " - "supplied, or the credentials were unavailable or inaccessible, " "Minor (2529639107): No credentials cache found" ) @@ -514,7 +511,7 @@ def test_source_ipahealthcheck_ipa_host_check_ipahostkeytab(self): ) assert returncode == 1 assert data[0]["result"] == "ERROR" - assert data[0]["kw"]["msg"] == msg + assert msg in data[0]["kw"]["msg"] def test_source_ipahealthcheck_topology_IPATopologyDomainCheck(self): """
_______________________________________________ FreeIPA-devel mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/[email protected] Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
