def populate_default_writers(writer_populator):
 writer_populator.register(u'html', HTMLReportWriter)
 writer_populator.register(u'pdf', PDFReportWriter)
 writer_populator.register(u'json', JSONReportWriter)
 writer_populator.register(u'pprint', PprintReportWriter)
 writer_populator.register(u'html', HTMLReportWriter)
 if openpyxl:
  writer_populator.register(u'excel', ExcelReportWriter)

def populate_default_writers ( writer_populator ) : writer_populator . register ( u'html' , HTMLReportWriter ) writer_populator . register ( u'pdf' , PDFReportWriter ) writer_populator . register ( u'json' , JSONReportWriter ) writer_populator . register ( u'pprint' , PprintReportWriter ) writer_populator . register ( u'html' , HTMLReportWriter ) if openpyxl : writer_populator . register ( u'excel' , ExcelReportWriter )
populate the default report writers :type writer_populator: reportwriterpopulator .