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'))