Esempio n. 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()
Esempio n. 2
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()
Esempio n. 3
0
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()
Esempio n. 4
0
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()
Esempio n. 5
0
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()