def test_report_load(): r = report.restore("report.UPDATE_FAST.log") r2 = report.Report() assert r.c_sent == r2.c_sent assert r.name assert r.c_received assert r.c_sent report.clean()
def test_report_extract(): logging.debug("dir: %s" % os.getcwd()) r = report.restore("report.CHECK_ELITE.log") s = report.summary() logging.debug(s) assert r.name assert r.c_received assert r.c_sent report.clean()