summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2011-01-31 13:10:37 -0500
committerRob Crittenden <rcritten@redhat.com>2011-02-01 11:59:24 -0500
commit4b7e5721d4520c7bd6db6aab8fc92b3a208da719 (patch)
treef1e19554e0e8381f52470428b52c012281bb9cc8 /tests
parent613a3d0f5628a2e844c4f0e8629f0916e3a44794 (diff)
downloadfreeipa-4b7e5721d4520c7bd6db6aab8fc92b3a208da719.tar.gz
freeipa-4b7e5721d4520c7bd6db6aab8fc92b3a208da719.tar.xz
freeipa-4b7e5721d4520c7bd6db6aab8fc92b3a208da719.zip
Fix changing membergroup in a delegation.
This is mostly due to inconsistent option name usage but also due to the aci plugin not always treating memberof as a special kind of filter. ticket 869
Diffstat (limited to 'tests')
-rw-r--r--tests/test_xmlrpc/test_delegation_plugin.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_xmlrpc/test_delegation_plugin.py b/tests/test_xmlrpc/test_delegation_plugin.py
index 2b5f6f607..2131c5ad7 100644
--- a/tests/test_xmlrpc/test_delegation_plugin.py
+++ b/tests/test_xmlrpc/test_delegation_plugin.py
@@ -89,7 +89,7 @@ class test_delegation(Declarative):
permissions=[u'write'],
aciname=delegation1,
group=u'editors',
- membergroup=[member1],
+ memberof=member1,
),
),
),
@@ -120,7 +120,7 @@ class test_delegation(Declarative):
'permissions': [u'write'],
'aciname': delegation1,
'group': u'editors',
- 'membergroup': [member1],
+ 'memberof': member1,
},
),
),
@@ -139,7 +139,7 @@ class test_delegation(Declarative):
'permissions': [u'write'],
'aciname': delegation1,
'group': u'editors',
- 'membergroup': [member1],
+ 'memberof': member1,
},
],
),
@@ -159,7 +159,7 @@ class test_delegation(Declarative):
permissions=[u'read'],
aciname=delegation1,
group=u'editors',
- membergroup=[member1],
+ memberof=member1,
),
),
),
@@ -176,7 +176,7 @@ class test_delegation(Declarative):
'permissions': [u'read'],
'aciname': delegation1,
'group': u'editors',
- 'membergroup': [member1],
+ 'memberof': member1,
},
),
),