Skip to content

Commit dc85334

Browse files
committed
Update sensor snapshot testcase based on fixture with Emma data
1 parent fbcccd6 commit dc85334

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/components/plugwise/test_sensor.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@
1313
from tests.common import MockConfigEntry, snapshot_platform
1414

1515

16+
@pytest.mark.parametrize("chosen_env", ["m_adam_heating"], indirect=True)
17+
@pytest.mark.parametrize("cooling_present", [False], indirect=True)
1618
@pytest.mark.parametrize("platforms", [(SENSOR_DOMAIN,)])
1719
@pytest.mark.usefixtures("entity_registry_enabled_by_default")
1820
async def test_adam_sensor_snapshot(
1921
hass: HomeAssistant,
20-
mock_smile_adam: MagicMock,
22+
mock_smile_adam_heat_cool: MagicMock,
2123
snapshot: SnapshotAssertion,
2224
entity_registry: er.EntityRegistry,
2325
setup_platform: MockConfigEntry,

0 commit comments

Comments
 (0)