Fix fibaro tests (#102575)
This commit is contained in:
parent
109819e9cd
commit
4c99d2607f
1 changed files with 2 additions and 0 deletions
|
@ -16,6 +16,7 @@ TEST_URL = "http://192.168.1.1/api/"
|
|||
TEST_USERNAME = "user"
|
||||
TEST_PASSWORD = "password"
|
||||
TEST_VERSION = "4.360"
|
||||
TEST_MODEL = "HC3"
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
|
@ -70,6 +71,7 @@ def mock_fibaro_client() -> Generator[Mock, None, None]:
|
|||
info_mock.serial_number = TEST_SERIALNUMBER
|
||||
info_mock.hc_name = TEST_NAME
|
||||
info_mock.current_version = TEST_VERSION
|
||||
info_mock.platform = TEST_MODEL
|
||||
|
||||
with patch(
|
||||
"homeassistant.components.fibaro.FibaroClient", autospec=True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue