tests: update to reflect trigger API changes

This commit is contained in:
Jimmy Zelinskie 2015-04-23 18:15:35 -04:00
parent 852aa33101
commit c238626c56

View file

@ -2444,13 +2444,13 @@ class FakeBuildTrigger(BuildTriggerBase):
def activate(self, trigger_uuid, standard_webhook_url, auth_token, config):
config['active'] = True
return config
return config, {}
def deactivate(self, auth_token, config):
config['active'] = False
return config
def manual_start(self, auth_token, config, run_parameters=None):
def manual_start(self, trigger, run_parameters=None):
return ('foo', ['bar'], 'build-name', 'subdir', {'foo': 'bar'})
def dockerfile_url(self, auth_token, config):