mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 16:57:10 +00:00
Fix fibaro tests (#102575)
This commit is contained in:
parent
109819e9cd
commit
4c99d2607f
@ -16,6 +16,7 @@ TEST_URL = "http://192.168.1.1/api/"
|
|||||||
TEST_USERNAME = "user"
|
TEST_USERNAME = "user"
|
||||||
TEST_PASSWORD = "password"
|
TEST_PASSWORD = "password"
|
||||||
TEST_VERSION = "4.360"
|
TEST_VERSION = "4.360"
|
||||||
|
TEST_MODEL = "HC3"
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
@ -70,6 +71,7 @@ def mock_fibaro_client() -> Generator[Mock, None, None]:
|
|||||||
info_mock.serial_number = TEST_SERIALNUMBER
|
info_mock.serial_number = TEST_SERIALNUMBER
|
||||||
info_mock.hc_name = TEST_NAME
|
info_mock.hc_name = TEST_NAME
|
||||||
info_mock.current_version = TEST_VERSION
|
info_mock.current_version = TEST_VERSION
|
||||||
|
info_mock.platform = TEST_MODEL
|
||||||
|
|
||||||
with patch(
|
with patch(
|
||||||
"homeassistant.components.fibaro.FibaroClient", autospec=True
|
"homeassistant.components.fibaro.FibaroClient", autospec=True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user