From ffc967b47ab0c38c361ce7a60283ed0b8c618d81 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Thu, 9 Dec 2010 14:57:34 -0500 Subject: Fix a slew of tests. - Skip the DNS tests if DNS isn't configured - Add new attributes to user entries (displayname, cn and initials) - Make the nsaccountlock value consistent - Fix the cert subject for cert tests --- tests/test_xmlrpc/test_netgroup_plugin.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/test_xmlrpc/test_netgroup_plugin.py') diff --git a/tests/test_xmlrpc/test_netgroup_plugin.py b/tests/test_xmlrpc/test_netgroup_plugin.py index f5b4f1e1..3afeac63 100644 --- a/tests/test_xmlrpc/test_netgroup_plugin.py +++ b/tests/test_xmlrpc/test_netgroup_plugin.py @@ -207,6 +207,9 @@ class test_netgroup(Declarative): sn=[u'User1'], uid=[user1], uidnumber=[fuzzy_digits], + displayname=[u'Test User1'], + cn=[u'Test User1'], + initials=[u'TU'], ipauniqueid=[fuzzy_uuid], dn=u'uid=%s,cn=users,cn=accounts,%s' % (user1, api.env.basedn), ), @@ -231,6 +234,9 @@ class test_netgroup(Declarative): sn=[u'User2'], uid=[user2], uidnumber=[fuzzy_digits], + displayname=[u'Test User2'], + cn=[u'Test User2'], + initials=[u'TU'], ipauniqueid=[fuzzy_uuid], dn=u'uid=%s,cn=users,cn=accounts,%s' % (user2, api.env.basedn), ), -- cgit