URL: https://github.com/freeipa/freeipa/pull/1604
Author: gkaihorodova
 Title: #1604: Overide trust methods for integration tests
Action: opened

PR body:
"""
Overide trust method test_establish_trust_with_posix_attributes to 
test_establish_trust.
Windows Server 2016 doesn't have support for MFU/NIS, so autodetection is not 
working

https://pagure.io/freeipa/issue/7313
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1604/head:pr1604
git checkout pr1604
From b3960169cf8cf151742d89825717fe80e0e6a94c Mon Sep 17 00:00:00 2001
From: Ganna Kaihorodova <[email protected]>
Date: Tue, 20 Feb 2018 12:09:20 +0100
Subject: [PATCH] Overide trust methods for integration tests

Overide trust method test_establish_trust_with_posix_attributes to test_establish_trust.
Windows Server 2016 doesn't have support for MFU/NIS, so autodetection is not working

https://pagure.io/freeipa/issue/7313
---
 ipatests/test_integration/test_trust.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/ipatests/test_integration/test_trust.py b/ipatests/test_integration/test_trust.py
index ccdc2e3d42..abce2aec78 100644
--- a/ipatests/test_integration/test_trust.py
+++ b/ipatests/test_integration/test_trust.py
@@ -258,8 +258,11 @@ class TestEnforcedPosixADTrust(TestPosixADTrust):
     This test is intented to copycat PosixADTrust, since enforcing the POSIX
     trust type should not make a difference.
     """
+    """Re-difene method from test_establish_trust_with_posix_attributes
+    to test_establish_trust. win server 2016 no more have support for MFU/NIS,
+    so autodetection doesn't work"""
 
-    def test_establish_trust_with_posix_attributes(self):
+    def test_establish_trust(self):
         tasks.establish_trust_with_ad(self.master, self.ad_domain,
             extra_args=['--range-type', 'ipa-ad-trust-posix'])
 
_______________________________________________
FreeIPA-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to