摘要:
import ddt import unittest, requests import yaml from requ import get_request @ddt.ddt class MyCase(unittest.TestCase): @ddt.file_data('list.yml') #读取文件参数 @ddt.unpack #多个参数用到 # @ddt.d... 阅读全文
摘要:
安装yaml:pip install pyyaml写入yaml: import json from ruamel import yaml aproject ={'cardBalance': 18850} aproject2 ={"cardNumber": "22222222"} # # print(aproject) # # def th(cas): # # f = open(r't... 阅读全文