From d17d13d77a7c09cbc99c8bb0a3f7af3b72da8aca Mon Sep 17 00:00:00 2001 From: Oleg Fayans Date: Sep 22 2016 13:20:42 +0000 Subject: tests: Added necessary getkeytabs calls to fixtures Reviewed-By: David Kupka --- diff --git a/ipatests/test_integration/test_caless.py b/ipatests/test_integration/test_caless.py index 2044d92..bbf1fef 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):