摘要: import unittest class Myddt: def ddt(self, cls): for attrname, method in list(cls.__dict__.items()): # 判断带有数据的测试方法 if hasattr(method, 'params'): param 阅读全文
posted @ 2022-08-09 17:28 上官夏洛特 阅读(28) 评论(0) 推荐(0) 编辑