mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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>
This commit is contained in:
committed by
Martin Kosek
parent
947c7398ed
commit
cd9a4cca1f
@@ -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,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user