摘要: 测试用例test_asg测试数据是通过ddt的方式添加,使用suite.addTest方法添加该用例提示错误信息no such test method in <class ‘unitest_login.TestCase’>: test_asg 问题原因: 使用ddt装饰的方法执行时,会在方法名后加了 阅读全文
posted @ 2021-09-02 11:03 木子同学 阅读(160) 评论(0) 推荐(0) 编辑