mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Fix Abode tests uncaught exceptions (#33365)
This commit is contained in:
@@ -10,6 +10,8 @@ def requests_mock_fixture(requests_mock):
|
||||
"""Fixture to provide a requests mocker."""
|
||||
# Mocks the login response for abodepy.
|
||||
requests_mock.post(CONST.LOGIN_URL, text=load_fixture("abode_login.json"))
|
||||
# Mocks the logout response for abodepy.
|
||||
requests_mock.post(CONST.LOGOUT_URL, text=load_fixture("abode_logout.json"))
|
||||
# Mocks the oauth claims response for abodepy.
|
||||
requests_mock.get(
|
||||
CONST.OAUTH_TOKEN_URL, text=load_fixture("abode_oauth_claims.json")
|
||||
|
||||
Reference in New Issue
Block a user