Browse Source

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

changes/03/723603/4
Zuul 1 year ago
committed by Gerrit Code Review
parent
commit
2691640cc9
  1. 6
      tests/base.py

6
tests/base.py

@ -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)

Loading…
Cancel
Save