diff options
author | Jan Cholasta <jcholast@redhat.com> | 2014-03-27 14:04:00 +0100 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2014-04-18 14:59:20 +0200 |
commit | 4314d02fbf9ef1cb9543ecf76a8d22e79d250214 (patch) | |
tree | 8c6ac601e881712e8cf7c25fce420026a3762553 /ipatests/test_xmlrpc/test_selinuxusermap_plugin.py | |
parent | c644b47492e22370bc71f57e5ac46b50f9b4e247 (diff) | |
download | freeipa-4314d02fbf9ef1cb9543ecf76a8d22e79d250214.tar.gz freeipa-4314d02fbf9ef1cb9543ecf76a8d22e79d250214.tar.xz freeipa-4314d02fbf9ef1cb9543ecf76a8d22e79d250214.zip |
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>
Diffstat (limited to 'ipatests/test_xmlrpc/test_selinuxusermap_plugin.py')
-rw-r--r-- | ipatests/test_xmlrpc/test_selinuxusermap_plugin.py | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/ipatests/test_xmlrpc/test_selinuxusermap_plugin.py b/ipatests/test_xmlrpc/test_selinuxusermap_plugin.py index 9089a1c5e..c987a0c53 100644 --- a/ipatests/test_xmlrpc/test_selinuxusermap_plugin.py +++ b/ipatests/test_xmlrpc/test_selinuxusermap_plugin.py @@ -572,8 +572,8 @@ class test_selinuxusermap(Declarative): desc='Try to delete similarly named HBAC rule %r' % hbacrule2, command=('hbacrule_del', [hbacrule2], {}), expected=dict( - result=dict(failed=u''), - value=hbacrule2, + result=dict(failed=[]), + value=[hbacrule2], summary=u'Deleted HBAC rule "%s"' % hbacrule2, ) ), @@ -584,8 +584,8 @@ class test_selinuxusermap(Declarative): desc='Delete %r' % rule1, command=('selinuxusermap_del', [rule1], {}), expected=dict( - result=dict(failed=u''), - value=rule1, + result=dict(failed=[]), + value=[rule1], summary=u'Deleted SELinux User Map "%s"' % rule1, ) ), @@ -780,8 +780,8 @@ class test_selinuxusermap(Declarative): desc='Delete %r' % rule1, command=('selinuxusermap_del', [rule1], {}), expected=dict( - result=dict(failed=u''), - value=rule1, + result=dict(failed=[]), + value=[rule1], summary=u'Deleted SELinux User Map "%s"' % rule1, ) ), @@ -823,8 +823,8 @@ class test_selinuxusermap(Declarative): desc='Delete %r' % rule1, command=('selinuxusermap_del', [rule1], {}), expected=dict( - result=dict(failed=u''), - value=rule1, + result=dict(failed=[]), + value=[rule1], summary=u'Deleted SELinux User Map "%s"' % rule1, ) ), @@ -865,8 +865,8 @@ class test_selinuxusermap(Declarative): desc='Delete %r' % rule1, command=('selinuxusermap_del', [rule1], {}), expected=dict( - result=dict(failed=u''), - value=rule1, + result=dict(failed=[]), + value=[rule1], summary=u'Deleted SELinux User Map "%s"' % rule1, ) ), @@ -899,8 +899,8 @@ class test_selinuxusermap(Declarative): desc='Delete %r' % rule1, command=('selinuxusermap_del', [rule1], {}), expected=dict( - result=dict(failed=u''), - value=rule1, + result=dict(failed=[]), + value=[rule1], summary=u'Deleted SELinux User Map "%s"' % rule1, ) ), |