From 26be7ffdba87e0e6294ea035ab3dc9bd933fba43 Mon Sep 17 00:00:00 2001 From: Sudhir Menon 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 Reviewed-By: Florence Blanc-Renaud --- 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 305d7b945..f6a3043f1 100644 --- a/ipatests/test_integration/test_ipahealthcheck.py +++ b/ipatests/test_integration/test_ipahealthcheck.py @@ -499,9 +499,6 @@ class TestIpaHealthCheck(IntegrationTest): 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 @@ class TestIpaHealthCheck(IntegrationTest): ) 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): """ -- 2.31.1