I'm not sure if this applies to paste.fixture, but I have done this
with webtest which is the replacement module for paste.fixture
(http://pythonpaste.org/webtest/)
And it is exactly the same as a normal test. except that you will
fetch the response with "response.json" and then do your thing.
you can pass a dict or a query_string as the second parameter to post,
which will be transformed into the POST data, so my guess is that you
need something in the likes of:
app.post("/url/to/controller/",{'data':xml_obj}) now two things are
uncertain, which is the value of data, I haven't used XMLRPController
that much to know the correct post parameter, and if you need to
escape or stringify xml_obj, I think the last one isn't needed, at
least it isn't for json objects. A quick peak at plyons
XMLRPCCOntroller suggest me you should be using xmlrpclib.dumps to
build a proper body for the request.