def parse_response(self): self.response_tree = ElementTree.parse(StringIO.StringIO(self.response_data)) return self.response_tree