mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Add missing dependencies to yale (#124821)
* Add missing dependencies to yale * try another way * Revert "try another way" This reverts commit fbb731a33491bf51290fd98acde7b532ea39fb88. * patch out cloud setup
This commit is contained in:
parent
c7cfd56b72
commit
5f810d908f
@ -3,6 +3,7 @@
|
||||
"name": "Yale",
|
||||
"codeowners": ["@bdraco"],
|
||||
"config_flow": true,
|
||||
"dependencies": ["application_credentials", "cloud"],
|
||||
"dhcp": [
|
||||
{
|
||||
"hostname": "yale-connect-plus",
|
||||
|
@ -57,3 +57,16 @@ def load_reauth_jwt_wrong_account_fixture() -> str:
|
||||
async def mock_client_credentials_fixture(hass: HomeAssistant) -> None:
|
||||
"""Mock client credentials."""
|
||||
await mock_client_credentials(hass)
|
||||
|
||||
|
||||
@pytest.fixture(name="skip_cloud", autouse=True)
|
||||
def skip_cloud_fixture():
|
||||
"""Skip setting up cloud.
|
||||
|
||||
Cloud already has its own tests for account link.
|
||||
|
||||
We do not need to test it here as we only need to test our
|
||||
usage of the oauth2 helpers.
|
||||
"""
|
||||
with patch("homeassistant.components.cloud.async_setup", return_value=True):
|
||||
yield
|
||||
|
Loading…
x
Reference in New Issue
Block a user