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

Add type hints to integration tests (j-m) (#87704)

This commit is contained in:
epenet
2023-02-08 19:06:59 +01:00
committed by GitHub
parent 630028106a
commit f75ac17554
103 changed files with 605 additions and 417 deletions

View File

@@ -3,11 +3,12 @@ from unittest.mock import patch
from homeassistant.components.kodi.const import DOMAIN
from homeassistant.config_entries import ConfigEntryState
from homeassistant.core import HomeAssistant
from . import init_integration
async def test_unload_entry(hass):
async def test_unload_entry(hass: HomeAssistant) -> None:
"""Test successful unload of entry."""
with patch(
"homeassistant.components.kodi.media_player.async_setup_entry",