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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user