Here's an one-liner: don't test for the gidnumber attribute on ipausers, since it's not there by default now.

--
PetrĀ³
From 600c7722db6accd17e97425914cc69b08b082eb7 Mon Sep 17 00:00:00 2001
From: Petr Viktorin <pvikt...@redhat.com>
Date: Thu, 15 Mar 2012 08:49:41 -0400
Subject: [PATCH] Remove ipausers' gidnumber from tests

The ipausers group is no longer a POSIX group by default.
Reflect that in the tests.
---
 tests/test_xmlrpc/test_group_plugin.py |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/tests/test_xmlrpc/test_group_plugin.py b/tests/test_xmlrpc/test_group_plugin.py
index 3ef60f693815dd9a6a00e647394fa3ed4352ebb2..44682b69ce09450904e7825b89b9ac12c8bb5a19 100644
--- a/tests/test_xmlrpc/test_group_plugin.py
+++ b/tests/test_xmlrpc/test_group_plugin.py
@@ -368,7 +368,6 @@ class test_group(Declarative):
                         'dn': lambda x: DN(x) == \
                             DN(('cn','ipausers'),('cn','groups'),('cn','accounts'),
                                api.env.basedn),
-                        'gidnumber': [fuzzy_digits],
                         'cn': [u'ipausers'],
                         'description': [u'Default group for all users'],
                     },
-- 
1.7.7.6

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to