From cd9a4cca1fe17998a342fde000ece5bf46d13d27 Mon Sep 17 00:00:00 2001 From: David Kupka Date: Fri, 26 Sep 2014 02:54:28 -0400 Subject: Do not require description in UI. Description attribute is not required in LDAP schema so there is no reason to require it in UI. Modified tests to reflect this change. https://fedorahosted.org/freeipa/ticket/4387 Reviewed-By: Martin Kosek --- ipatests/test_xmlrpc/test_batch_plugin.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ipatests/test_xmlrpc') diff --git a/ipatests/test_xmlrpc/test_batch_plugin.py b/ipatests/test_xmlrpc/test_batch_plugin.py index 7f5a09fc7..a2bde22e8 100644 --- a/ipatests/test_xmlrpc/test_batch_plugin.py +++ b/ipatests/test_xmlrpc/test_batch_plugin.py @@ -28,6 +28,7 @@ from xmlrpc_test import Declarative, fuzzy_digits, fuzzy_uuid from ipapython.dn import DN group1 = u'testgroup1' +first1 = u'John' def deepequal_list(*expected): @@ -182,7 +183,7 @@ class test_batch(Declarative): # missing required argument dict(method='user_add', params=([], dict())), # missing required option - dict(method='group_add', params=([group1], dict())), + dict(method='user_add', params=([], dict(givenname=first1))), # bad type dict(method='group_add', params=([group1], dict( description=u't', gidnumber=u'bad'))), @@ -216,7 +217,7 @@ class test_batch(Declarative): error_code=3007, ), dict( - error=u"'description' is required", + error=u"'sn' is required", error_name=u'RequirementError', error_code=3007, ), -- cgit