From d17d13d77a7c09cbc99c8bb0a3f7af3b72da8aca Mon Sep 17 00:00:00 2001 From: Oleg Fayans Date: Fri, 9 Sep 2016 14:17:49 +0200 Subject: [PATCH] tests: Added necessary getkeytabs calls to fixtures Reviewed-By: David Kupka --- ipatests/test_integration/test_caless.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ipatests/test_integration/test_caless.py b/ipatests/test_integration/test_caless.py index 2044d92e8..bbf1fef41 100644 --- a/ipatests/test_integration/test_caless.py +++ b/ipatests/test_integration/test_caless.py @@ -1194,6 +1194,9 @@ class TestIPACommands(CALessBase): self.master.run_command(['ipa', 'host-add', self.test_hostname, '--force', '--certificate', self.client_pem]) + self.master.run_command(['ipa-getkeytab', '-s', self.master.hostname, + '-p' "host/%s" % self.test_hostname, + '-k', paths.IPA_KEYTAB]) try: yield finally: @@ -1207,6 +1210,10 @@ class TestIPACommands(CALessBase): self.master.run_command(['ipa', 'service-add', self.test_service, '--force', '--certificate', self.client_pem]) + self.master.run_command(['ipa-getkeytab', '-s', + self.master.hostname, + '-p', self.test_service, + '-k', paths.IPA_KEYTAB]) yield def test_service_mod_doesnt_revoke(self):