Add type hints to integration tests (part 7) (#87980)
This commit is contained in:
parent
b9beed4624
commit
b68f502769
51 changed files with 755 additions and 395 deletions
|
@ -2,9 +2,10 @@
|
|||
from unittest.mock import patch
|
||||
|
||||
from homeassistant.components.geonetnz_quakes import DOMAIN, FEED
|
||||
from homeassistant.core import HomeAssistant
|
||||
|
||||
|
||||
async def test_component_unload_config_entry(hass, config_entry):
|
||||
async def test_component_unload_config_entry(hass: HomeAssistant, config_entry) -> None:
|
||||
"""Test that loading and unloading of a config entry works."""
|
||||
config_entry.add_to_hass(hass)
|
||||
with patch(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue