summaryrefslogtreecommitdiffstats
path: root/ipalib/crud.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2010-02-19 03:13:11 -0700
committerRob Crittenden <rcritten@redhat.com>2010-02-19 18:10:37 -0500
commit47f2e618f9b5944b2c857351df71da635a3dc50a (patch)
treea830c31452d1b7e2335a9bc41ea477856b006d7a /ipalib/crud.py
parenteab04c9d099b6361a3f64ada4b95e442a1e3095b (diff)
downloadfreeipa-47f2e618f9b5944b2c857351df71da635a3dc50a.tar.gz
freeipa-47f2e618f9b5944b2c857351df71da635a3dc50a.tar.xz
freeipa-47f2e618f9b5944b2c857351df71da635a3dc50a.zip
Fix non XML-RPC tests
Diffstat (limited to 'ipalib/crud.py')
-rw-r--r--ipalib/crud.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/crud.py b/ipalib/crud.py
index 77c97f3f4..fa8b9ad08 100644
--- a/ipalib/crud.py
+++ b/ipalib/crud.py
@@ -76,7 +76,7 @@ us:
>>> list(api.Command.user_add.args)
['login']
>>> list(api.Command.user_add.options)
-['first', 'last']
+['first', 'last', 'all', 'raw']
Notice that ``'ipauniqueid'`` isn't included in the options for our ``user_add``
plugin. This is because of the ``'no_create'`` flag we used when defining the
@@ -94,7 +94,7 @@ class created them for us:
>>> list(api.Command.user_show.args)
['login']
>>> list(api.Command.user_show.options)
-[]
+['all', 'raw']
As you can see, `Retrieve` plugins take a single argument (the primary key) and
no options. If needed, you can still specify options for your `Retrieve` plugin