ESPHome quality improvements round 2 (#143613)

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
This commit is contained in:
J. Nick Koston
2025-04-24 09:51:33 -10:00
committed by GitHub
parent 39f3aa7e78
commit 3aa1c60fe3
16 changed files with 288 additions and 292 deletions

View File

@@ -9,9 +9,9 @@ from homeassistant.core import HomeAssistant
from tests.common import MockConfigEntry
@pytest.mark.usefixtures("mock_zeroconf")
async def test_delete_entry(hass: HomeAssistant, mock_client) -> None:
"""Test we can delete an entry with error."""
@pytest.mark.usefixtures("mock_client", "mock_zeroconf")
async def test_delete_entry(hass: HomeAssistant) -> None:
"""Test we can delete an entry without error."""
entry = MockConfigEntry(
domain=DOMAIN,
data={CONF_HOST: "test.local", CONF_PORT: 6053, CONF_PASSWORD: ""},