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_nesting.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/test_xmlrpc/test_nesting.py') diff --git a/tests/test_xmlrpc/test_nesting.py b/tests/test_xmlrpc/test_nesting.py index 8c9e4b25..a5aa4328 100644 --- a/tests/test_xmlrpc/test_nesting.py +++ b/tests/test_xmlrpc/test_nesting.py @@ -125,6 +125,9 @@ class test_group(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) ), @@ -150,6 +153,9 @@ class test_group(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