mirror of
https://github.com/home-assistant/core.git
synced 2025-11-12 12:30:31 +00:00
Speedup Reolink tests by using scope="module" (#125215)
* use scope="module" * Instead of side_effect = None, use reset_mock(side_efffect=True) * fix tests
This commit is contained in:
@@ -43,6 +43,8 @@ async def test_camera(
|
||||
# check getting the stream source
|
||||
assert await async_get_stream_source(hass, entity_id) is not None
|
||||
|
||||
reolink_connect.get_snapshot.reset_mock(side_effect=True)
|
||||
|
||||
|
||||
@pytest.mark.usefixtures("entity_registry_enabled_by_default")
|
||||
async def test_camera_no_stream_source(
|
||||
|
||||
Reference in New Issue
Block a user