test_runfiles.py 文件源码

python
阅读 37 收藏 0 点赞 0 评论 0

项目:specto 作者: mrknow 项目源码 文件源码
def test_finding_tests_when_no_filter(self):
        # unittest.py will create a TestCase with 0 tests in it
        # since it just imports what is given
        self.assertEquals(1, len(self.all_tests) > 0)
        files_with_tests = [1 for t in self.all_tests if len(t._tests) > 0]
        self.assertNotEquals(len(self.files), len(files_with_tests))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号