From 491f431107ca91bd2e993319d4cd164baf16eec3 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Thu, 10 Apr 2014 09:12:48 +0200 Subject: ipatests: Enable SSSD debugging on legacy clients with SSSD Reviewed-By: Jakub Hrozek Reviewed-By: Alexander Bokovoy --- ipatests/test_integration/test_legacy_clients.py | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/ipatests/test_integration/test_legacy_clients.py b/ipatests/test_integration/test_legacy_clients.py index 71b266a94..b7fbd0165 100644 --- a/ipatests/test_integration/test_legacy_clients.py +++ b/ipatests/test_integration/test_legacy_clients.py @@ -429,9 +429,17 @@ class BaseTestLegacyClientNonPosix(BaseTestLegacyClient, pass +class BaseTestSSSDMixin(object): + + def test_apply_advice(self): + super(BaseTestSSSDMixin, self).test_apply_advice() + tasks.setup_sssd_debugging(self.legacy_client) + + # Tests definitions themselves. Beauty. Just pure beauty. -class TestLegacySSSDBefore19RedHatNonPosix(BaseTestLegacySSSDBefore19RedHat, +class TestLegacySSSDBefore19RedHatNonPosix(BaseTestSSSDMixin, + BaseTestLegacySSSDBefore19RedHat, BaseTestLegacyClientNonPosix): pass @@ -446,7 +454,8 @@ class TestLegacyNssLdapRedHatNonPosix(BaseTestLegacyNssLdapRedHat, pass -class TestLegacySSSDBefore19RedHatPosix(BaseTestLegacySSSDBefore19RedHat, +class TestLegacySSSDBefore19RedHatPosix(BaseTestSSSDMixin, + BaseTestLegacySSSDBefore19RedHat, BaseTestLegacyClientPosix): pass -- cgit