mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Allow primary keys to use different type than unicode.
Also return list of primary keys instead of a single unicode CSV value from LDAPDelete-based commands. This introduces a new capability 'primary_key_types' for backward compatibility with old clients. Reviewed-By: Tomas Babej <tbabej@redhat.com>
This commit is contained in:
committed by
Petr Viktorin
parent
c644b47492
commit
4314d02fbf
@@ -261,9 +261,9 @@ class test_hostgroup(Declarative):
|
||||
desc='Delete %r' % hostgroup1,
|
||||
command=('hostgroup_del', [hostgroup1], {}),
|
||||
expected=dict(
|
||||
value=hostgroup1,
|
||||
value=[hostgroup1],
|
||||
summary=u'Deleted hostgroup "testhostgroup1"',
|
||||
result=dict(failed=u''),
|
||||
result=dict(failed=[]),
|
||||
),
|
||||
),
|
||||
|
||||
@@ -293,9 +293,9 @@ class test_hostgroup(Declarative):
|
||||
desc='Delete %r' % hostgroup_single,
|
||||
command=('hostgroup_del', [hostgroup_single], {}),
|
||||
expected=dict(
|
||||
value=hostgroup_single,
|
||||
value=[hostgroup_single],
|
||||
summary=u'Deleted hostgroup "a"',
|
||||
result=dict(failed=u''),
|
||||
result=dict(failed=[]),
|
||||
),
|
||||
),
|
||||
|
||||
@@ -304,9 +304,9 @@ class test_hostgroup(Declarative):
|
||||
desc='Delete host %r' % fqdn1,
|
||||
command=('host_del', [fqdn1], {}),
|
||||
expected=dict(
|
||||
value=fqdn1,
|
||||
value=[fqdn1],
|
||||
summary=u'Deleted host "%s"' % fqdn1,
|
||||
result=dict(failed=u''),
|
||||
result=dict(failed=[]),
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user