Add missing hass type hint in alexa tests (#124064)

* Add missing hass type hint in alexa tests

* One more
This commit is contained in:
epenet 2024-08-16 19:00:44 +02:00 committed by GitHub
parent 8a110abc82
commit 9b11aaf1eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 69 additions and 31 deletions

View file

@ -10,14 +10,14 @@ from tests.test_util.aiohttp import AiohttpClientMocker
async def run_auth_get_access_token(
hass,
aioclient_mock,
expires_in,
client_id,
client_secret,
accept_grant_code,
refresh_token,
):
hass: HomeAssistant,
aioclient_mock: AiohttpClientMocker,
expires_in: int,
client_id: str,
client_secret: str,
accept_grant_code: str,
refresh_token: str,
) -> None:
"""Do auth and request a new token for tests."""
aioclient_mock.post(
TEST_TOKEN_URL,