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

Reviewed-By: Alexander Koksharov <akokshar@redhat.com>
This commit is contained in:
Ganna Kaihorodova 2018-02-20 12:09:20 +01:00 committed by Tibor Dudlák
parent 2b17a086d0
commit 9797309ef9
No known key found for this signature in database
GPG Key ID: 12B8BD343576CDF5

View File

@ -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'])