コード例 #1
0
def patch_all(for_tests=False):
    patch_bug4881()
    patch_bug4520()
    patch_bug5079()
    patch_sqlalchemy2364()
    patch_sqlalchemy2189()

    if for_tests:
        from buildbot.monkeypatches import servicechecks
        servicechecks.patch_servicechecks()
        from buildbot.monkeypatches import testcase_patch
        testcase_patch.patch_testcase_patch()
コード例 #2
0
ファイル: __init__.py プロジェクト: AndreaCrotti/buildbot
def patch_all(for_tests=False):
    patch_bug4881()
    patch_bug4520()
    patch_bug5079()
    patch_sqlalchemy2364()
    patch_sqlalchemy2189()

    if for_tests:
        from buildbot.monkeypatches import servicechecks
        servicechecks.patch_servicechecks()
        from buildbot.monkeypatches import testcase_patch
        testcase_patch.patch_testcase_patch()
コード例 #3
0
ファイル: __init__.py プロジェクト: tarc/buildbot
def patch_all(for_tests=False):
    if for_tests:
        from buildbot.monkeypatches import servicechecks
        servicechecks.patch_servicechecks()
        from buildbot.monkeypatches import testcase_patch
        testcase_patch.patch_testcase_patch()
        from buildbot.monkeypatches import testcase_synctest
        testcase_synctest.patch_testcase_synctest()
        patch_testcase_assert_raises_regexp()

    patch_bug4881()
    patch_bug4520()
    patch_bug5079()
    patch_sqlalchemy2364()
    patch_sqlalchemy2189()
    patch_gatherResults()
コード例 #4
0
ファイル: __init__.py プロジェクト: thuanbk2010/katana
def patch_all(for_tests=False):
    patch_bug4881()
    patch_bug4520()
    patch_bug5079()
    patch_sqlalchemy2364()
    patch_sqlalchemy2189()
    patch_gatherResults()
    twistedBroker.patch_proto_decref()

    if for_tests:
        from buildbot.monkeypatches import servicechecks
        servicechecks.patch_servicechecks()
        from buildbot.monkeypatches import testcase_patch
        testcase_patch.patch_testcase_patch()
        from buildbot.monkeypatches import testcase_synctest
        testcase_synctest.patch_testcase_synctest()
コード例 #5
0
ファイル: __init__.py プロジェクト: adeason/buildbot
def patch_all(for_tests=False):
    if for_tests:
        from buildbot.monkeypatches import servicechecks
        servicechecks.patch_servicechecks()
        from buildbot.monkeypatches import testcase_patch
        testcase_patch.patch_testcase_patch()
        from buildbot.monkeypatches import testcase_synctest
        testcase_synctest.patch_testcase_synctest()
        patch_testcase_assert_raises_regexp()
        from buildbot.monkeypatches import decorators
        decorators.patch()

    patch_bug4881()
    patch_bug4520()
    patch_bug5079()
    patch_sqlalchemy2364()
    patch_sqlalchemy2189()
    patch_gatherResults()