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

Simplify MQTT test for setup manual mqtt item from yaml (#72916)

simplify test setup manual mqtt item from yaml
This commit is contained in:
Jan Bouwhuis
2022-06-13 13:44:12 +02:00
committed by GitHub
parent 48e3d68b53
commit 657e7f9a4c
23 changed files with 48 additions and 116 deletions

View File

@@ -1790,13 +1790,7 @@ async def help_test_reloadable_late(hass, caplog, tmp_path, domain, config):
assert hass.states.get(f"{domain}.test_new_3")
async def help_test_setup_manual_entity_from_yaml(
hass,
caplog,
tmp_path,
platform,
config,
):
async def help_test_setup_manual_entity_from_yaml(hass, platform, config):
"""Help to test setup from yaml through configuration entry."""
config_structure = {mqtt.DOMAIN: {platform: config}}