本文整理汇总了Python中unittest2.makeSuite函数的典型用法代码示例。如果您正苦于以下问题:Python makeSuite函数的具体用法?Python makeSuite怎么用?Python makeSuite使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了makeSuite函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: suite
def suite():
result = unittest.TestSuite()
result.addTests(unittest.makeSuite(PyCoreTest))
result.addTests(unittest.makeSuite(PyCoreInProjectsTest))
result.addTests(unittest.makeSuite(TextChangeDetectorTest))
result.addTests(unittest.makeSuite(PyCoreProjectConfigsTest))
return result
示例2: suite
def suite():
st = unittest.TestSuite()
st.addTest(unittest.makeSuite(X509TestCase))
st.addTest(unittest.makeSuite(X509StackTestCase))
st.addTest(unittest.makeSuite(X509ExtTestCase))
st.addTest(unittest.makeSuite(CRLTestCase))
return st
示例3: suite
def suite():
result = unittest.TestSuite()
result.addTests(unittest.makeSuite(ProjectTest))
result.addTests(unittest.makeSuite(ResourceObserverTest))
result.addTests(unittest.makeSuite(OutOfProjectTest))
result.addTests(unittest.makeSuite(RopeFolderTest))
return result
示例4: suite
def suite():
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(EVPTestCase))
suite.addTest(unittest.makeSuite(CipherTestCase))
suite.addTest(unittest.makeSuite(PBKDF2TestCase))
suite.addTest(unittest.makeSuite(HMACTestCase))
return suite
示例5: suite
def suite():
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(MakoTestCase))
suite.addTest(unittest.makeSuite(MakoDetailedTestCase))
if MakoBabelTestCase:
suite.addTest(unittest.makeSuite(MakoBabelTestCase))
return suite
示例6: suite
def suite():
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestQuotedCSV))
suite.addTest(unittest.makeSuite(TestNonQuotedCSV))
suite.addTest(unittest.makeSuite(TestInternals))
return suite
示例7: suite
def suite():
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(X509TestCase))
suite.addTest(unittest.makeSuite(X509_StackTestCase))
suite.addTest(unittest.makeSuite(X509_ExtTestCase))
suite.addTest(unittest.makeSuite(CRLTestCase))
return suite
示例8: test_suite
def test_suite():
return unittest.TestSuite(
[
unittest.makeSuite(RDFPersonListTest),
unittest.makeSuite(RDFSiteListTest),
unittest.makeSuite(RDFCollaborativeGroupListTest),
]
)
示例9: suite
def suite():
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestSchema))
suite.addTest(unittest.makeSuite(TestElement))
suite.addTest(unittest.makeSuite(TestCollection))
suite.addTest(unittest.makeSuite(TestField))
suite.addTest(unittest.makeSuite(TestReports))
return suite
示例10: create_suite
def create_suite():
suite = unittest.TestSuite()
if autoconfig.cxx_parsers_cfg.gccxml:
suite.addTest(unittest.makeSuite(core_all_at_once_t))
suite.addTest(unittest.makeSuite(core_all_at_once_no_opt_t))
suite.addTest(unittest.makeSuite(core_file_by_file_t))
suite.addTest(unittest.makeSuite(core_file_by_file_no_opt_t))
return suite
示例11: suite
def suite():
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(Test_get_case))
suite.addTest(unittest.makeSuite(Test_get_field_freq))
suite.addTest(unittest.makeSuite(TestGetFieldNames))
suite.addTest(unittest.makeSuite(TestMinAndMax))
return suite
示例12: test_suite
def test_suite():
"""This sets up a test suite that actually runs the tests in the class
above
"""
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestMxitPaymentRequest))
suite.addTest(unittest.makeSuite(TestMxitPaymentResponse))
return suite
示例13: test_suite
def test_suite():
"""This sets up a test suite that actually runs the tests in the class
above
"""
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestPerformance100))
suite.addTest(unittest.makeSuite(TestPerformance1000))
return suite
示例14: test_suite
def test_suite():
"""This sets up a test suite that actually runs the tests in the class
above
"""
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestIntegration))
suite.addTest(unittest.makeSuite(TestSection))
return suite
示例15: test_suite
def test_suite():
import unittest2 as unittest
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestSetup))
suite.addTest(unittest.makeSuite(TestIndividualCatalogContentItems))
suite.addTest(unittest.makeSuite(TestIndividualRealContentItems))
suite.addTest(unittest.makeSuite(TestFolderContents))
return suite