From ffa0dbfc0f914b2f806878d9e104a6cccd4cf7db Mon Sep 17 00:00:00 2001 From: jbouwh Date: Mon, 13 May 2024 10:26:16 +0000 Subject: [PATCH] Fix tests and linters --- tests/components/mqtt/test_discovery.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/components/mqtt/test_discovery.py b/tests/components/mqtt/test_discovery.py index 611b382a709..569ea7010b1 100644 --- a/tests/components/mqtt/test_discovery.py +++ b/tests/components/mqtt/test_discovery.py @@ -118,7 +118,7 @@ async def test_invalid_topic( @pytest.mark.parametrize( "discovery_topic", - ("homeassistant/binary_sensor/bla/config", "homeassistant/device/bla/config"), + ["homeassistant/binary_sensor/bla/config", "homeassistant/device/bla/config"], ) async def test_invalid_json( hass: HomeAssistant, @@ -2290,7 +2290,6 @@ async def test_discovery_dispatcher_signal_type_messages( ), ], ) -@patch("homeassistant.components.mqtt.PLATFORMS", [Platform.SENSOR]) async def test_shared_state_topic( hass: HomeAssistant, device_registry: dr.DeviceRegistry,