mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 14:17:45 +00:00
Add missing mock value to Reolink test (#146689)
This commit is contained in:
parent
89ae68c5af
commit
1fb438fa6c
@ -141,6 +141,7 @@ async def test_browsing(
|
|||||||
entry_id = config_entry.entry_id
|
entry_id = config_entry.entry_id
|
||||||
reolink_connect.supported.return_value = 1
|
reolink_connect.supported.return_value = 1
|
||||||
reolink_connect.model = "Reolink TrackMix PoE"
|
reolink_connect.model = "Reolink TrackMix PoE"
|
||||||
|
reolink_connect.is_nvr = False
|
||||||
|
|
||||||
with patch("homeassistant.components.reolink.PLATFORMS", [Platform.CAMERA]):
|
with patch("homeassistant.components.reolink.PLATFORMS", [Platform.CAMERA]):
|
||||||
assert await hass.config_entries.async_setup(entry_id) is True
|
assert await hass.config_entries.async_setup(entry_id) is True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user