1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Update greeclimate to 0.10.3 (#43248)

* Update greeclimate to 0.10.3

* Device search needs to be mocked in tests
This commit is contained in:
Clifford Roche
2020-11-15 12:06:51 -05:00
committed by GitHub
parent a6f47ac380
commit eb9e9e67f0
4 changed files with 5 additions and 5 deletions

View File

@@ -8,7 +8,7 @@ from tests.async_mock import patch
from tests.common import MockConfigEntry
async def test_setup_simple(hass):
async def test_setup_simple(hass, discovery, device):
"""Test gree integration is setup."""
await async_setup_component(hass, GREE_DOMAIN, {})
await hass.async_block_till_done()
@@ -17,7 +17,7 @@ async def test_setup_simple(hass):
assert len(hass.config_entries.flow.async_progress()) == 0
async def test_unload_config_entry(hass):
async def test_unload_config_entry(hass, discovery, device):
"""Test that the async_unload_entry works."""
# As we have currently no configuration, we just to pass the domain here.
entry = MockConfigEntry(domain=GREE_DOMAIN)