summaryrefslogtreecommitdiffstats
path: root/ipatests/test_integration/test_legacy_clients.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipatests/test_integration/test_legacy_clients.py')
-rw-r--r--ipatests/test_integration/test_legacy_clients.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ipatests/test_integration/test_legacy_clients.py b/ipatests/test_integration/test_legacy_clients.py
index 8380e50dd..33958a24b 100644
--- a/ipatests/test_integration/test_legacy_clients.py
+++ b/ipatests/test_integration/test_legacy_clients.py
@@ -368,6 +368,10 @@ class BaseTestLegacyClient(object):
cls.master.run_command(['ipa', 'user-del', 'disabledipauser'],
raiseonerr=False)
+ # Remove information about trust from AD, if domain was defined
+ if hasattr(cls, 'ad_domain'):
+ tasks.remove_trust_info_from_ad(cls.master, cls.ad_domain)
+
# Also unapply fixes on the legacy client, if defined
if hasattr(cls, 'legacy_client'):
tasks.unapply_fixes(cls.legacy_client)