mirror of
https://github.com/home-assistant/core.git
synced 2025-11-13 13:00:11 +00:00
Add missing return type in test __init__ method (part 3) (#123940)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user