Update pagure fake get_project_webhook_token
The fake pagure connection class overrides get_project_webhook_token but has a different method signature. Update the signature to match in order to avoid some exceptions in tests. Change-Id: I9b1dda8baa23fdad00428217a55c2481b867864a
This commit is contained in:
@@ -375,7 +375,7 @@ class FakePagureConnection(pagureconnection.PagureConnection):
|
||||
self.set_my_username(client)
|
||||
return client
|
||||
|
||||
def get_project_webhook_token(self, project):
|
||||
def get_project_webhook_token(self, project, force_refresh=False):
|
||||
return 'fake_webhook_token-%s' % project
|
||||
|
||||
def emitEvent(self, event, use_zuulweb=False, project=None,
|
||||
|
||||
Reference in New Issue
Block a user