From e0930d42a54e586a0170c853fbc9e66f9193d5b0 Mon Sep 17 00:00:00 2001 From: Martin Kosek Date: Mon, 28 May 2012 17:17:07 +0200 Subject: Reset krbtpolicy when a unit test is finished Kerberos ticket maximum life was being set to 1 hour which then affected lifetime of Kerberos tickets returned by IPA server under the test. Make sure that the policy is reset before and after the unit test to keep the IPA server settings clean and not to disrupt development environment. --- tests/test_xmlrpc/test_krbtpolicy.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/test_xmlrpc/test_krbtpolicy.py b/tests/test_xmlrpc/test_krbtpolicy.py index 3ef603b3a..26ba87c47 100644 --- a/tests/test_xmlrpc/test_krbtpolicy.py +++ b/tests/test_xmlrpc/test_krbtpolicy.py @@ -30,6 +30,7 @@ user1 = u'tuser1' class test_krbtpolicy(Declarative): cleanup_commands = [ ('user_del', [user1], {}), + ('krbtpolicy_reset', [], {}), ] tests = [ -- cgit