Exemplo n.º 1
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()
Exemplo n.º 2
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()
    patch_python14653()
Exemplo n.º 3
0
def patch_decorators():
    from buildbot.monkeypatches import decorators
    decorators.patch()
Exemplo n.º 4
0
def patch_decorators():
    from buildbot.monkeypatches import decorators
    decorators.patch()