def uninstall(cls, mh): cls.master.run_command(['ipa', 'user-del', 'disabledipauser'], raiseonerr=False) # Also unapply fixes on the legacy client, if defined if hasattr(cls, 'legacy_client'): tasks.unapply_fixes(cls.legacy_client) super(BaseTestLegacyClient, cls).uninstall(mh)
def uninstall(cls, mh): 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) super(BaseTestLegacyClient, cls).uninstall(mh)
def uninstall(cls): cls.master.run_command(['ipa', 'user-del', 'disabledipauser'], raiseonerr=False) tasks.unapply_fixes(cls.legacy_client) super(BaseTestLegacyClient, cls).uninstall()