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'))
posted on 2018-06-19 22:09  彼得潘jd  阅读(117)  评论(0编辑  收藏  举报