Hi,

solution for https://fedorahosted.org/freeipa/ticket/5281 has removed has_keytab attribute from list of expected keys of service-mod command. Attached patch provides a fix for tests that consequently started to fail.


Lenka

From eb6b692b484816084a48e64f969b28adae9fb967 Mon Sep 17 00:00:00 2001
From: Lenka Doudova <ldoud...@redhat.com>
Date: Mon, 1 Aug 2016 08:00:16 +0200
Subject: [PATCH] Tests: Remove has_keytab from list of expected keys of update
 command

As part of https://fedorahosted.org/freeipa/ticket/5281, the has_keytab
attribute was removed from results of service-mod command. Removing this
attribute from list of expected keys to prevent failing tests.

Ticket: https://fedorahosted.org/freeipa/ticket/6149
---
 ipatests/test_xmlrpc/tracker/service_plugin.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ipatests/test_xmlrpc/tracker/service_plugin.py b/ipatests/test_xmlrpc/tracker/service_plugin.py
index e51232f8056908ef298c62db158c128e1d7436b4..3b970b98985f6d0528aba369064f889256853b79 100644
--- a/ipatests/test_xmlrpc/tracker/service_plugin.py
+++ b/ipatests/test_xmlrpc/tracker/service_plugin.py
@@ -48,7 +48,7 @@ class ServiceTracker(KerberosAliasMixin, Tracker):
 
     create_keys = (retrieve_keys | {u'objectclass', u'ipauniqueid'}) - {
         u'usercertificate', u'has_keytab'}
-    update_keys = retrieve_keys - {u'dn'}
+    update_keys = retrieve_keys - {u'dn', u'has_keytab'}
 
     def __init__(self, name, host_fqdn, options=None):
         super(ServiceTracker, self).__init__(default_version=None)
-- 
2.7.4

-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to