|
|
@@ -12,6 +12,7 @@ from custom_components.tuya_local.const import (
|
|
|
)
|
|
|
from custom_components.tuya_local.remote import TuyaLocalRemote, async_setup_entry
|
|
|
|
|
|
+
|
|
|
@pytest.mark.asyncio
|
|
|
async def test_init_entry(hass):
|
|
|
"""Test the initialisation."""
|
|
|
@@ -23,7 +24,7 @@ async def test_init_entry(hass):
|
|
|
CONF_PROTOCOL_VERSION: "auto",
|
|
|
},
|
|
|
)
|
|
|
- # although async, the async_add_entities function passed to
|
|
|
+ # although async, the async_add_entities function passed to
|
|
|
# async_setup_entry is called truly asynchronously. If we use
|
|
|
# AsyncMock, it expects us to await the result.
|
|
|
m_add_entities = Mock()
|