]> git.ipfire.org Git - thirdparty/patchwork.git/commit
views/xmlrpc: Add xmlrpc automatic documentation
authorStephen Finucane <stephen.finucane@intel.com>
Sat, 10 Oct 2015 02:50:53 +0000 (03:50 +0100)
committerStephen Finucane <stephen.finucane@intel.com>
Mon, 26 Oct 2015 21:03:03 +0000 (21:03 +0000)
commit63f42544f5bbe3d45d63d1d0f102cf9b53cf3054
tree3600825dccc0049b676487c91bf7afbc821782e8
parent5d9f523b4d0c472edd543d7083303bcdbd90ca25
views/xmlrpc: Add xmlrpc automatic documentation

The DocXMLRPCServer module (standard library) provides documentation
for XML-RPC dispatchers via pydoc. Use this module rather than
reinventing the wheel.

Also update a test that no longer makes sense (the GET method now
retrieves documentation - it shouldn't redirect. Use PATCH instead).

Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
patchwork/tests/test_xmlrpc.py
patchwork/views/xmlrpc.py