summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2012-04-29 17:36:25 -0400
committerRob Crittenden <rcritten@redhat.com>2012-04-29 17:39:42 -0400
commit4416c185de3534ed4ed55f90f8d1b1d215f918e2 (patch)
treef2cc5ca127cf9b680f0ac0f3c6954acb14c10a80 /tests
parente1f69625454fe1c023c0f4571bbb0a15efc15ccf (diff)
downloadfreeipa-4416c185de3534ed4ed55f90f8d1b1d215f918e2.tar.gz
freeipa-4416c185de3534ed4ed55f90f8d1b1d215f918e2.tar.xz
freeipa-4416c185de3534ed4ed55f90f8d1b1d215f918e2.zip
Revert "Search allowed attributes in superior objectclasses"
This reverts commit a58cbb985ec007c0ef83010b32408efb2f4784d2. We are going to take another approach to this. Instead of erroring out on attributes that don't seem to be allowed we are going to eventually return a warning.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_xmlrpc/test_permission_plugin.py35
1 files changed, 0 insertions, 35 deletions
diff --git a/tests/test_xmlrpc/test_permission_plugin.py b/tests/test_xmlrpc/test_permission_plugin.py
index 1da9d795c..d67a427be 100644
--- a/tests/test_xmlrpc/test_permission_plugin.py
+++ b/tests/test_xmlrpc/test_permission_plugin.py
@@ -703,41 +703,6 @@ class test_permission(Declarative):
dict(
- desc='Create permission %r with attributes from superior objectclass' % permission1,
- command=(
- 'permission_add', [permission1], dict(
- type=u'hostgroup',
- permissions=[u'add', u'delete', u'write'],
- attrs=[u'businessCategory', u'owner', u'description'],
- )
- ),
- expected=dict(
- value=permission1,
- summary=u'Added permission "%s"' % permission1,
- result=dict(
- dn=lambda x: DN(x) == permission1_dn,
- cn=[permission1],
- objectclass=objectclasses.permission,
- type=u'hostgroup',
- permissions=[u'add',u'delete',u'write'],
- attrs=[u'businesscategory',u'owner',u'description'],
- ),
- ),
- ),
-
-
- dict(
- desc='Delete %r' % permission1,
- command=('permission_del', [permission1], {}),
- expected=dict(
- result=dict(failed=u''),
- value=permission1,
- summary=u'Deleted permission "%s"' % permission1,
- ),
- ),
-
-
- dict(
desc='Create targetgroup permission %r' % permission1,
command=(
'permission_add', [permission1], dict(