def nrun():
report = ('report_' + ('%s') % time.strftime("%Y-%m-%d-%H-%M-%S", time.localtime()) + '.html').replace('\', '/')
suite = unittest.defaultTestLoader.discover(CASE_DIR, "*case.py")
result = BeautifulReport(suite)
result.report(description='测试报告',
filename=report,
log_path =REPORT_DIR)