我有一个测试用例:classLoginTestCase(unittest.TestCase):...我想在不同的测试用例中使用它:classEditProfileTestCase(unittest.TestCase):def__init__(self):self.t=LoginTestCase()self.t.login()这引发了:ValueError:nosuchtestmethodin我查看了调用异常的单元测试代码,看起来测试不应该以这种方式编写。有没有一种标准的方法来编写你想要测试的东西,以便以后的测试可以重用它?或者有什么解决方法?我现在向LoginTest添加了一个空的ru