예제 #1
0
def _prepare_github_change_hook(testcase, **params):
    # License note:
    #    Copied from the original buildbot implementation with
    #    minor changes and additions.
    return ChangeHookResource(
        dialects={
            'github': params
        },
        master=fakeMasterForHooks(testcase)
    )
예제 #2
0
def _prepare_github_change_hook(**params):
    return ChangeHookResource(dialects={
        'github': params
    }, master=fakeMasterForHooks())
예제 #3
0
def _prepare_base_change_hook(testcase, **options):
    return ChangeHookResource(dialects={'base': options},
                              master=fakeMasterForHooks(testcase))
예제 #4
0
def _prepare_base_change_hook():
    return ChangeHookResource(dialects={
        'base': True
    }, master=fakeMasterForHooks())