xunitgen/disk_writing.py
def write_reports(self, relative_path, suite_name, reports,
                      package_name=None):
        """write the collection of reports to the given path"""

        dest_path = self.reserve_file(relative_path)
        with open(dest_path, 'wb') as outf:
            outf.write(toxml(reports, suite_name, package_name=package_name))
        return dest_path
def write_reports(self, relative_path, suite_name, reports,
                      package_name=None):
        dest_path = self.reserve_file(relative_path)
        with open(dest_path, 'wb') as outf:
            outf.write(toxml(reports, suite_name, package_name=package_name))
        return dest_path
def write_reports ( self , relative_path , suite_name , reports , package_name = None ) : dest_path = self . reserve_file ( relative_path ) with open ( dest_path , 'wb' ) as outf : outf . write ( toxml ( reports , suite_name , package_name = package_name ) ) return dest_path
write the collection of reports to the given path
write the collection of reports to the given path