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) )
def _prepare_github_change_hook(**params): return ChangeHookResource(dialects={ 'github': params }, master=fakeMasterForHooks())
def _prepare_base_change_hook(testcase, **options): return ChangeHookResource(dialects={'base': options}, master=fakeMasterForHooks(testcase))
def _prepare_base_change_hook(): return ChangeHookResource(dialects={ 'base': True }, master=fakeMasterForHooks())