Merge "Add repository and installation id to events in tests"
This commit is contained in:
commit
2691640cc9
|
@ -2101,6 +2101,12 @@ class FakeGithubPullRequest(object):
|
||||||
'sender': {
|
'sender': {
|
||||||
'login': 'ghuser'
|
'login': 'ghuser'
|
||||||
},
|
},
|
||||||
|
'repository': {
|
||||||
|
'full_name': self.project,
|
||||||
|
},
|
||||||
|
'installation': {
|
||||||
|
'id': 123,
|
||||||
|
},
|
||||||
'labels': [{'name': l} for l in self.labels]
|
'labels': [{'name': l} for l in self.labels]
|
||||||
}
|
}
|
||||||
return (name, data)
|
return (name, data)
|
||||||
|
|
Loading…
Reference in New Issue