mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-28 01:41:14 -06:00
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.
This commit is contained in:
parent
bdc80fe372
commit
e0930d42a5
@ -30,6 +30,7 @@ user1 = u'tuser1'
|
||||
class test_krbtpolicy(Declarative):
|
||||
cleanup_commands = [
|
||||
('user_del', [user1], {}),
|
||||
('krbtpolicy_reset', [], {}),
|
||||
]
|
||||
|
||||
tests = [
|
||||
|
Loading…
Reference in New Issue
Block a user