2018-02-03 02:17:01 +00:00
|
|
|
"""The test for the Melissa Climate component."""
|
2024-03-08 13:55:15 +00:00
|
|
|
|
2023-02-08 18:06:59 +00:00
|
|
|
from homeassistant.core import HomeAssistant
|
2019-10-23 06:19:00 +00:00
|
|
|
|
2024-03-13 18:54:52 +00:00
|
|
|
from tests.components.melissa import setup_integration
|
2018-02-03 02:17:01 +00:00
|
|
|
|
|
|
|
|
2024-03-13 18:54:52 +00:00
|
|
|
async def test_setup(hass: HomeAssistant, mock_melissa) -> None:
|
2018-10-30 20:29:11 +00:00
|
|
|
"""Test setting up the Melissa component."""
|
2024-03-13 18:54:52 +00:00
|
|
|
await setup_integration(hass)
|
2018-02-03 02:17:01 +00:00
|
|
|
|
2024-03-13 18:54:52 +00:00
|
|
|
mock_melissa.assert_called_with(username="********", password="********")
|