Repository event subscription (#67284)

This commit is contained in:
Joakim Sørensen 2022-02-26 15:56:36 +01:00 committed by GitHub
parent 73fdd47d54
commit e65670fef4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 61 additions and 7 deletions

View file

@ -31,6 +31,11 @@ async def setup_github_integration(
},
headers=headers,
)
aioclient_mock.get(
f"https://api.github.com/repos/{repository}/events",
json=[],
headers=headers,
)
aioclient_mock.post(
"https://api.github.com/graphql",
json=json.loads(load_fixture("graphql.json", DOMAIN)),