1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 04:50:05 +00:00

Improve mqtt tag schema logging and avoid tests that use xfail (#95711)

Improve schema logging and tests
This commit is contained in:
Jan Bouwhuis
2023-07-11 10:12:31 +02:00
committed by GitHub
parent 30578d6236
commit beff19f93c
4 changed files with 25 additions and 23 deletions

View File

@@ -2096,7 +2096,6 @@ async def test_setup_manual_mqtt_with_platform_key(
@pytest.mark.parametrize("hass_config", [{mqtt.DOMAIN: {"light": {"name": "test"}}}])
@pytest.mark.xfail(reason="Invalid config for [mqtt]: required key not provided")
@patch("homeassistant.components.mqtt.PLATFORMS", [])
async def test_setup_manual_mqtt_with_invalid_config(
hass: HomeAssistant,