求助帖:使用suite.addTest方法添加ddt修饰的测试用例,提示错误信息
请教老师个问题,测试用例test_asg测试数据是通过ddt的方式添加,使用suite.addTest方法添加该用例提示错误信息no such test method in <class ‘unitest_login.TestCase’>: test_asg
我感觉与ddt有关。我尝试了不用ddt的用例,是可以执行成功的
请教老师个问题,测试用例test_asg测试数据是通过ddt的方式添加,使用suite.addTest方法添加该用例提示错误信息no such test method in <class ‘unitest_login.TestCase’>: test_asg
我感觉与ddt有关。我尝试了不用ddt的用例,是可以执行成功的