from nnlog import Logger
# log=Logger(file_name='my.log',level='debug',
# when='S',backCount=5,interval=1) #可以修改原设置参数

log=Logger('jd.log')
log.debug('test')
log.info('test1')
log.surprise()


# import BeautifulReport,yaml,HTMLTestRunner

import yaml
f=open('login.yaml',encoding='utf-8')
res=yaml.load(f)
print(res)

# print(res.get('cookies'))

相关文章:

  • 2021-12-23
  • 2022-12-23
  • 2022-03-02
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-24
  • 2021-05-22
  • 2021-07-15
相关资源
相似解决方案