Merge "Add repository and installation id to events in tests"

This commit is contained in:
Zuul 2020-07-21 16:22:22 +00:00 committed by Gerrit Code Review
commit 2691640cc9
1 changed files with 6 additions and 0 deletions

View File

@ -2101,6 +2101,12 @@ class FakeGithubPullRequest(object):
'sender': {
'login': 'ghuser'
},
'repository': {
'full_name': self.project,
},
'installation': {
'id': 123,
},
'labels': [{'name': l} for l in self.labels]
}
return (name, data)