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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user