core/tests/components/melissa/test_init.py

13 lines
358 B
Python

"""The test for the Melissa Climate component."""
from homeassistant.core import HomeAssistant
from . import setup_integration
async def test_setup(hass: HomeAssistant, mock_melissa) -> None:
"""Test setting up the Melissa component."""
await setup_integration(hass)
mock_melissa.assert_called_with(username="********", password="********")