Reference ref = new Reference();
ref.setQuery("thearg=theval");
req.setResourceRef(ref);
Response resp = new Response(req);
PythonResource r = new PythonResource(python,
new File(python.getScriptRoot(), "foo_args.py"), req, resp);
r.handleGet();
assertResponse(resp, "theval");
}