Add type hints to integration tests (part 7) (#87980)

This commit is contained in:
epenet 2023-02-13 09:53:09 +01:00 committed by GitHub
parent b9beed4624
commit b68f502769
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
51 changed files with 755 additions and 395 deletions

View file

@ -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(