mirror of
https://github.com/home-assistant/core.git
synced 2025-11-13 13:00:11 +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:
@@ -64,6 +64,8 @@ async def test_number(
|
||||
blocking=True,
|
||||
)
|
||||
|
||||
reolink_connect.set_volume.reset_mock(side_effect=True)
|
||||
|
||||
|
||||
async def test_host_number(
|
||||
hass: HomeAssistant,
|
||||
@@ -153,3 +155,5 @@ async def test_chime_number(
|
||||
{ATTR_ENTITY_ID: entity_id, ATTR_VALUE: 1},
|
||||
blocking=True,
|
||||
)
|
||||
|
||||
test_chime.set_option.reset_mock(side_effect=True)
|
||||
|
||||
Reference in New Issue
Block a user