• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Python unittest2.makeSuite函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Python中unittest2.makeSuite函数的典型用法代码示例。如果您正苦于以下问题:Python makeSuite函数的具体用法?Python makeSuite怎么用?Python makeSuite使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了makeSuite函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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


示例16: suite

def suite():
    suite = unittest.TestSuite()
    suite.addTest(unittest.makeSuite(TestQuotedCSV))
    suite.addTest(unittest.makeSuite(TestNonQuotedCSV))
    suite.addTest(unittest.makeSuite(TestOverrideFloatToString))
    #unittest.TextTestRunner(verbosity=2).run(suite)

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


示例17: test_suite

def test_suite():
    """
    :return:
    """
    suite = unittest.TestSuite()

    suite.addTest(unittest.makeSuite(TestLibrary, prefix='test'))
    suite.addTest(unittest.makeSuite(TestLibraryBrowser, prefix='test'))

    return suite
开发者ID:nazrulworld,项目名称:collective.DataTable,代码行数:10,代码来源:test_library.py


示例18: test_suite

def test_suite():
    """
    :return:
    """
    suite = unittest.TestSuite()

    suite.addTest(unittest.makeSuite(TestBookLoan, prefix='test'))
    suite.addTest(unittest.makeSuite(TestBookLoanBrowser, prefix='test'))

    return suite
开发者ID:nazrulworld,项目名称:collective.DataTable,代码行数:10,代码来源:test_book_loan.py


示例19: test_suite

def test_suite():
    """
    :return:
    """
    suite = unittest.TestSuite()

    suite.addTest(unittest.makeSuite(TestBookReview, prefix="test"))
    suite.addTest(unittest.makeSuite(TestBookReviewBrowser, prefix="test"))

    return suite
开发者ID:nazrulworld,项目名称:collective.DataTable,代码行数:10,代码来源:test_book_review.py


示例20: all_tests

def all_tests():
    suite = unittest.TestSuite()
    # Redis
    suite.addTest(unittest.makeSuite(RedisTestCase))
    # Poller
    suite.addTest(unittest.makeSuite(PollerTestCase))
    # Storage
    suite.addTest(unittest.makeSuite(StorageTestCase))
    # Master test with all /!\ Need munin-node and redis
    suite.addTest(unittest.makeSuite(MasterTestCase))
    return suite
开发者ID:Seraf,项目名称:numeter,代码行数:11,代码来源:__init__.py



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Python unittest2.registerResult函数代码示例发布时间:2022-05-27
下一篇:
Python unittest2.main函数代码示例发布时间:2022-05-27
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap