mirror of
https://github.com/home-assistant/core.git
synced 2025-07-30 02:38:10 +02:00
Cleanup mqtt platform tests part 5 (#120719)
This commit is contained in:
@ -2559,9 +2559,7 @@ async def test_discovery_removal_light(
|
||||
|
||||
|
||||
async def test_discovery_ignores_extra_keys(
|
||||
hass: HomeAssistant,
|
||||
mqtt_mock_entry: MqttMockHAClientGenerator,
|
||||
caplog: pytest.LogCaptureFixture,
|
||||
hass: HomeAssistant, mqtt_mock_entry: MqttMockHAClientGenerator
|
||||
) -> None:
|
||||
"""Test discovery ignores extra keys that are not blocked."""
|
||||
await mqtt_mock_entry()
|
||||
@ -3287,8 +3285,7 @@ async def test_publishing_with_custom_encoding(
|
||||
|
||||
|
||||
async def test_reloadable(
|
||||
hass: HomeAssistant,
|
||||
mqtt_client_mock: MqttMockPahoClient,
|
||||
hass: HomeAssistant, mqtt_client_mock: MqttMockPahoClient
|
||||
) -> None:
|
||||
"""Test reloading the MQTT platform."""
|
||||
domain = light.DOMAIN
|
||||
@ -3370,7 +3367,6 @@ async def test_encoding_subscribable_topics(
|
||||
async def test_encoding_subscribable_topics_brightness(
|
||||
hass: HomeAssistant,
|
||||
mqtt_mock_entry: MqttMockHAClientGenerator,
|
||||
caplog: pytest.LogCaptureFixture,
|
||||
topic: str,
|
||||
value: str,
|
||||
attribute: str,
|
||||
@ -3582,8 +3578,7 @@ async def test_setup_manual_entity_from_yaml(
|
||||
|
||||
|
||||
async def test_unload_entry(
|
||||
hass: HomeAssistant,
|
||||
mqtt_mock_entry: MqttMockHAClientGenerator,
|
||||
hass: HomeAssistant, mqtt_mock_entry: MqttMockHAClientGenerator
|
||||
) -> None:
|
||||
"""Test unloading the config entry."""
|
||||
domain = light.DOMAIN
|
||||
|
Reference in New Issue
Block a user