summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Babej <tbabej@redhat.com>2014-02-05 09:07:45 +0100
committerPetr Viktorin <pviktori@redhat.com>2014-02-10 10:37:29 +0100
commit99facb753a634f63df5250a8decbf53d13d955bb (patch)
treeedbab381554d81261ff194c3cb5090a433952f29
parent01a0249a40784d15e5ffc217c7626242e0a0045f (diff)
downloadfreeipa-99facb753a634f63df5250a8decbf53d13d955bb.zip
freeipa-99facb753a634f63df5250a8decbf53d13d955bb.tar.gz
freeipa-99facb753a634f63df5250a8decbf53d13d955bb.tar.xz
ipatests: Make sure we re-kinit as admin before adding the disabledipauser
When we add the disabledipauser during the setup class part of the BaseTestLegacyClient, we need to make sure that we re-kinit admin since we do ntpsync with the AD just before that, which can render the previous ticket invalid. Reviewed-By: Nathaniel McCallum <npmccallum@redhat.com>
-rw-r--r--ipatests/test_integration/test_legacy_clients.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipatests/test_integration/test_legacy_clients.py b/ipatests/test_integration/test_legacy_clients.py
index b4fd131..4eac83e 100644
--- a/ipatests/test_integration/test_legacy_clients.py
+++ b/ipatests/test_integration/test_legacy_clients.py
@@ -221,6 +221,8 @@ class BaseTestLegacyClient(object):
def install(cls):
super(BaseTestLegacyClient, cls).install()
+ tasks.kinit_admin(cls.master)
+
password_confirmation = (
cls.master.config.admin_password +
'\n' +