当前位置: 首页>>代码示例>>Python>>正文


Python unittest2.makeSuite函数代码示例

本文整理汇总了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
开发者ID:DonJayamanne,项目名称:rope,代码行数:7,代码来源:pycoretest.py

示例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
开发者ID:makinacorpus,项目名称:M2Crypto,代码行数:7,代码来源:test_x509.py

示例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
开发者ID:felix-d,项目名称:dot-files,代码行数:7,代码来源:projecttest.py

示例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
开发者ID:makinacorpus,项目名称:M2Crypto,代码行数:7,代码来源:test_evp.py

示例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
开发者ID:AnIrishDuck,项目名称:flask-mako,代码行数:7,代码来源:test_mako.py

示例6: suite

def suite():
    suite = unittest.TestSuite()
    suite.addTest(unittest.makeSuite(TestQuotedCSV))
    suite.addTest(unittest.makeSuite(TestNonQuotedCSV))
    suite.addTest(unittest.makeSuite(TestInternals))

    return suite
开发者ID:leroyjmcclure,项目名称:DataGristle,代码行数:7,代码来源:test_file_type.py

示例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
开发者ID:Hypernode,项目名称:M2Crypto,代码行数:7,代码来源:test_x509.py

示例8: test_suite

def test_suite():
    return unittest.TestSuite(
        [
            unittest.makeSuite(RDFPersonListTest),
            unittest.makeSuite(RDFSiteListTest),
            unittest.makeSuite(RDFCollaborativeGroupListTest),
        ]
    )
开发者ID:EDRN,项目名称:edrn.sync,代码行数:8,代码来源:testClasses.py

示例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
开发者ID:leroyjmcclure,项目名称:DataGristle,代码行数:8,代码来源:test_metadata.py

示例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
开发者ID:iMichka,项目名称:pygccxml,代码行数:8,代码来源:core_tester.py

示例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
开发者ID:leroyjmcclure,项目名称:DataGristle,代码行数:8,代码来源:test_field_misc.py

示例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
开发者ID:Siyavula,项目名称:emas.theme,代码行数:8,代码来源:test_mxitpayment.py

示例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
开发者ID:affinitic,项目名称:plone.app.search,代码行数:8,代码来源:test_search_performance.py

示例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
开发者ID:plone,项目名称:plone.app.search,代码行数:8,代码来源:test_integration.py

示例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
开发者ID:RBINS,项目名称:plone.app.contentlisting,代码行数:8,代码来源:test_integration_unit.py


注:本文中的unittest2.makeSuite函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。