summaryrefslogtreecommitdiffstats
path: root/ipatests/test_xmlrpc/test_batch_plugin.py
diff options
context:
space:
mode:
authorDavid Kupka <dkupka@redhat.com>2014-09-26 02:54:28 -0400
committerMartin Kosek <mkosek@redhat.com>2014-09-29 12:53:43 +0200
commitcd9a4cca1fe17998a342fde000ece5bf46d13d27 (patch)
tree2cefeab9b13a594ccd94dfec415569ccedf723a2 /ipatests/test_xmlrpc/test_batch_plugin.py
parent947c7398edbcae29d74acea3b00968871bd4ce98 (diff)
downloadfreeipa-cd9a4cca1fe17998a342fde000ece5bf46d13d27.tar.gz
freeipa-cd9a4cca1fe17998a342fde000ece5bf46d13d27.tar.xz
freeipa-cd9a4cca1fe17998a342fde000ece5bf46d13d27.zip
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 <mkosek@redhat.com>
Diffstat (limited to 'ipatests/test_xmlrpc/test_batch_plugin.py')
-rw-r--r--ipatests/test_xmlrpc/test_batch_plugin.py5
1 files changed, 3 insertions, 2 deletions
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,
),