summaryrefslogtreecommitdiffstats
path: root/tests/test_xmlrpc
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2013-02-21 16:35:02 +0100
committerMartin Kosek <mkosek@redhat.com>2013-02-21 16:35:02 +0100
commit43ca450ccbdf5eada7729dd0e6c5664e00001798 (patch)
tree2becddae023bec571d5f7b15f218a1b6aee00834 /tests/test_xmlrpc
parenta9fc742f55a8af16035b4f090095508677d03914 (diff)
downloadfreeipa.git-43ca450ccbdf5eada7729dd0e6c5664e00001798.tar.gz
freeipa.git-43ca450ccbdf5eada7729dd0e6c5664e00001798.tar.xz
freeipa.git-43ca450ccbdf5eada7729dd0e6c5664e00001798.zip
Add the version option to all Commands
Several Commands were missing the 'version' option. Add it to those that were missing it. Do not remove the version option before calling commands. This means methods such as execute(), forward(), run() receive it. Several of these needed `**options` added to their signatures. Commands in the Cert plugin passed any unknown options to the underlying functions, these are changed to pass what's needed explicitly. Some commands in DNS and Batch plugins now pass version to commands they call. When the option is not given, fill it in automatically. (In a subsequent commit, a warning will be added in this case). Note that the public API did not change: all RPC calls already accepted a version option. There's no need for an API version bump (even though API.txt changes substantially). Design page: http://freeipa.org/page/V3/Messages Tickets: https://fedorahosted.org/freeipa/ticket/2732 https://fedorahosted.org/freeipa/ticket/3294
Diffstat (limited to 'tests/test_xmlrpc')
-rw-r--r--tests/test_xmlrpc/test_cert_plugin.py (renamed from tests/test_xmlrpc/test_cert.py)0
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/test_xmlrpc/test_cert.py b/tests/test_xmlrpc/test_cert_plugin.py
index 906d1977..906d1977 100644
--- a/tests/test_xmlrpc/test_cert.py
+++ b/tests/test_xmlrpc/test_cert_plugin.py