From e8955cc7966b767415e2c9da6169f109c9c2119c Mon Sep 17 00:00:00 2001 From: Sergey Orlov Date: Tue, 26 Mar 2019 18:23:35 +0100 Subject: [PATCH] ipatests: fix expectations of `ipa trust-find` output for trust with root domain Test was expecting that when trust is established with forest root, than all three AD domains should be found when quering trust-find for that domain. Actually only root domain and its subdomain should be returned, without the tree domain. Related to https://pagure.io/freeipa/issue/7889 Reviewed-By: Alexander Bokovoy --- ipatests/test_integration/test_trust.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipatests/test_integration/test_trust.py b/ipatests/test_integration/test_trust.py index 72d8bd207..5fc8afce8 100644 --- a/ipatests/test_integration/test_trust.py +++ b/ipatests/test_integration/test_trust.py @@ -110,7 +110,7 @@ class ADTrustBase(IntegrationTest): # Check that all trustdomains appear in the result assert self.ad_domain in result.stdout_text assert self.ad_subdomain in result.stdout_text - assert self.ad_treedomain in result.stdout_text + assert "Number of entries returned 2" in result.stdout_text class ADTrustSubdomainBase(ADTrustBase):