summaryrefslogtreecommitdiffstats
path: root/tests/test_xmlrpc/test_netgroup_plugin.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2010-12-09 14:57:34 -0500
committerSimo Sorce <ssorce@redhat.com>2010-12-17 17:01:57 -0500
commitffc967b47ab0c38c361ce7a60283ed0b8c618d81 (patch)
treeb9e498c3c6d4a3e1eb291f6137b11bbc5b3989dc /tests/test_xmlrpc/test_netgroup_plugin.py
parent623abc6bdff15a77fc14eac9dc1af975e9d98b2f (diff)
downloadfreeipa-ffc967b47ab0c38c361ce7a60283ed0b8c618d81.tar.gz
freeipa-ffc967b47ab0c38c361ce7a60283ed0b8c618d81.tar.xz
freeipa-ffc967b47ab0c38c361ce7a60283ed0b8c618d81.zip
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
Diffstat (limited to 'tests/test_xmlrpc/test_netgroup_plugin.py')
-rw-r--r--tests/test_xmlrpc/test_netgroup_plugin.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_xmlrpc/test_netgroup_plugin.py b/tests/test_xmlrpc/test_netgroup_plugin.py
index f5b4f1e1f..3afeac63a 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),
),