This plugin allows to write results in an XML format compatible to CruiseControl, see here for download:
http://github.com/rozza/py.test-plugins