Fix tests and linters

This commit is contained in:
jbouwh
2024-05-13 10:26:16 +00:00
parent 1ac4b12145
commit ffa0dbfc0f

View File

@@ -118,7 +118,7 @@ async def test_invalid_topic(
@pytest.mark.parametrize( @pytest.mark.parametrize(
"discovery_topic", "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( async def test_invalid_json(
hass: HomeAssistant, 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( async def test_shared_state_topic(
hass: HomeAssistant, hass: HomeAssistant,
device_registry: dr.DeviceRegistry, device_registry: dr.DeviceRegistry,