Hi,

due to implementation of [1] some ID views tests fail because they do not recognize ipakrboktoauthasdelegate attribute. Providing fix for this.


Ticket: https://fedorahosted.org/freeipa/ticket/6241

Lenka


[1] https://fedorahosted.org/freeipa/ticket/5764

From 8b4fb5f85f81bc1f414a4e95731ca0f763c2fe18 Mon Sep 17 00:00:00 2001
From: Lenka Doudova <ldoud...@redhat.com>
Date: Mon, 22 Aug 2016 13:39:32 +0200
Subject: [PATCH] Tests: ID views tests do not recognize
 ipakrboktoauthasdelegate sttribute

Due to implementation of [1], new attribute 'ipakrboktoauthasdelegate' was presented, but is not recognized by ID views tests, thus causing them to fail.

[1] https://fedorahosted.org/freeipa/ticket/5764

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

diff --git a/ipatests/test_xmlrpc/test_idviews_plugin.py b/ipatests/test_xmlrpc/test_idviews_plugin.py
index 9cd44fe2f8263c14015001af6a79e10ff9801903..eeadc7ceca6c81afe5004898f67e0727f480efe3 100644
--- a/ipatests/test_xmlrpc/test_idviews_plugin.py
+++ b/ipatests/test_xmlrpc/test_idviews_plugin.py
@@ -1027,6 +1027,7 @@ class test_idviews(Declarative):
                     objectclass=objectclasses.host,
                     serverhostname=[host3],
                     ipaassignedidview=[idview1],
+                    ipakrboktoauthasdelegate=False,
                 ),
             ),
         ),
@@ -1056,6 +1057,7 @@ class test_idviews(Declarative):
                     serverhostname=[host2],
                     memberof_hostgroup=[hostgroup2],
                     memberofindirect_hostgroup=[hostgroup1],
+                    ipakrboktoauthasdelegate=False,
                 ),
             ),
         ),
@@ -1109,6 +1111,7 @@ class test_idviews(Declarative):
                     memberof_hostgroup=[hostgroup2],
                     memberofindirect_hostgroup=[hostgroup1],
                     ipaassignedidview=[idview1],
+                    ipakrboktoauthasdelegate=False,
                 ),
             ),
         ),
@@ -1138,6 +1141,7 @@ class test_idviews(Declarative):
                     serverhostname=[host1],
                     memberof_hostgroup=[hostgroup1],
                     ipaassignedidview=[idview1],
+                    ipakrboktoauthasdelegate=False,
                 ),
             ),
         ),
@@ -1210,6 +1214,7 @@ class test_idviews(Declarative):
                     objectclass=objectclasses.host,
                     serverhostname=[host1],
                     memberof_hostgroup=[hostgroup1],
+                    ipakrboktoauthasdelegate=False,
                 ),
             ),
         ),
@@ -1237,6 +1242,7 @@ class test_idviews(Declarative):
                     managing_host=[get_fqdn(host3)],
                     objectclass=objectclasses.host,
                     serverhostname=[host3],
+                    ipakrboktoauthasdelegate=False,
                 ),
             ),
         ),
@@ -1489,6 +1495,7 @@ class test_idviews(Declarative):
                     managing_host=[get_fqdn(host4)],
                     objectclass=objectclasses.host,
                     serverhostname=[host4],
+                    ipakrboktoauthasdelegate=False,
                 ),
             ),
         ),
-- 
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