- 博客(4)
- 收藏
- 关注
原创 pytest+allure测试报告封装
def report(style: list): path_allure = '/pytest_demo/report/' + time.strftime('%Y_%m_%d', time.localtime(time.time())) + '/xml' path_html = '/pytest_demo/report/' + time.strftime('%Y_%m_%d', time.localtime(time.time())) + '/html' # 生成allure报告.
2020-08-06 23:00:03 829 1
原创 python:logging模块封装(二)
#!/usr/bin/env python3# coding: utf-8# author: hyhimport loggingimport osimport timefrom logging import handlersclass GetLogger: """单例模式""" __instance = None def __new__(cls, *args, **kwargs): if not cls.__instance: .
2020-08-05 22:23:42 330
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人