mirror of
https://github.com/home-assistant/core.git
synced 2025-11-08 18:39:30 +00:00
Repository event subscription (#67284)
This commit is contained in:
@@ -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)),
|
||||
|
||||
Reference in New Issue
Block a user