Add missing dependencies to yale (#124821)
* Add missing dependencies to yale
* try another way
* Revert "try another way"
This reverts commit fbb731a334
.
* patch out cloud setup
pull/124880/head
parent
e8b722f7b2
commit
71de50dae8
|
@ -3,6 +3,7 @@
|
||||||
"name": "Yale",
|
"name": "Yale",
|
||||||
"codeowners": ["@bdraco"],
|
"codeowners": ["@bdraco"],
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
|
"dependencies": ["application_credentials", "cloud"],
|
||||||
"dhcp": [
|
"dhcp": [
|
||||||
{
|
{
|
||||||
"hostname": "yale-connect-plus",
|
"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:
|
async def mock_client_credentials_fixture(hass: HomeAssistant) -> None:
|
||||||
"""Mock client credentials."""
|
"""Mock client credentials."""
|
||||||
await mock_client_credentials(hass)
|
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…
Reference in New Issue