UI自动化(十四)yaml配置文件

import yaml
import json
f = open('config.yaml','rb')
data = yaml.load(f)
print(json.dumps(data,indent=4))


deivces_type: android
devices:
android:
- ip: 10.10.10.10
name: yongbo
tester:
name: liuchang
posted @ 2019-03-27 19:15  狐觞  阅读(214)  评论(0编辑  收藏  举报