Add missing return type in test __init__ method (part 3) (#123940)

This commit is contained in:
epenet
2024-08-14 17:38:30 +02:00
committed by GitHub
parent 5e6f8373e1
commit 178482068d
5 changed files with 16 additions and 6 deletions

View File

@@ -124,7 +124,12 @@ def config_flow_handler(
class OAuthFixture:
"""Fixture to facilitate testing an OAuth flow."""
def __init__(self, hass, hass_client, aioclient_mock):
def __init__(
self,
hass: HomeAssistant,
hass_client: ClientSessionGenerator,
aioclient_mock: AiohttpClientMocker,
) -> None:
"""Initialize OAuthFixture."""
self.hass = hass
self.hass_client = hass_client