Hi,

ID views tests still do not recognize 'krbcanonicalname' attribute - fix attached.

Lenka

From 6610280a0bae7116c0d790ffa75b6f1a2208365a Mon Sep 17 00:00:00 2001
From: Lenka Doudova <ldoud...@redhat.com>
Date: Mon, 22 Aug 2016 15:41:01 +0200
Subject: [PATCH] Tests: ID views tests do not recognize krbcanonicalname
 attribute

https://fedorahosted.org/freeipa/ticket/6242
---
 ipatests/test_xmlrpc/test_idviews_plugin.py | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/ipatests/test_xmlrpc/test_idviews_plugin.py b/ipatests/test_xmlrpc/test_idviews_plugin.py
index eeadc7ceca6c81afe5004898f67e0727f480efe3..591d002882dee75568baa6b39eeec476961a91e8 100644
--- a/ipatests/test_xmlrpc/test_idviews_plugin.py
+++ b/ipatests/test_xmlrpc/test_idviews_plugin.py
@@ -804,6 +804,8 @@ class test_idviews(Declarative):
                     l=[u'Undisclosed location 1'],
                     krbprincipalname=[
                         u'host/%s@%s' % (get_fqdn(host1), api.env.realm)],
+                    krbcanonicalname=[
+                        u'host/%s@%s' % (get_fqdn(host1), api.env.realm)],
                     objectclass=objectclasses.host,
                     ipauniqueid=[fuzzy_uuid],
                     managedby_host=[get_fqdn(host1)],
@@ -832,6 +834,8 @@ class test_idviews(Declarative):
                     l=[u'Undisclosed location 2'],
                     krbprincipalname=[
                         u'host/%s@%s' % (get_fqdn(host2), api.env.realm)],
+                    krbcanonicalname=[
+                        u'host/%s@%s' % (get_fqdn(host2), api.env.realm)],
                     objectclass=objectclasses.host,
                     ipauniqueid=[fuzzy_uuid],
                     managedby_host=[get_fqdn(host2)],
@@ -860,6 +864,8 @@ class test_idviews(Declarative):
                     l=[u'Undisclosed location 3'],
                     krbprincipalname=[
                         u'host/%s@%s' % (get_fqdn(host3), api.env.realm)],
+                    krbcanonicalname=[
+                        u'host/%s@%s' % (get_fqdn(host3), api.env.realm)],
                     objectclass=objectclasses.host,
                     ipauniqueid=[fuzzy_uuid],
                     managedby_host=[get_fqdn(host3)],
@@ -1453,6 +1459,8 @@ class test_idviews(Declarative):
                     l=[u'Undisclosed location 4'],
                     krbprincipalname=[
                         u'host/%s@%s' % (get_fqdn(host4), api.env.realm)],
+                    krbcanonicalname=[
+                        u'host/%s@%s' % (get_fqdn(host4), api.env.realm)],
                     objectclass=objectclasses.host,
                     ipauniqueid=[fuzzy_uuid],
                     managedby_host=[get_fqdn(host4)],
-- 
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