Add missing hass type hint in alexa tests (#124064)
* Add missing hass type hint in alexa tests * One more
This commit is contained in:
parent
8a110abc82
commit
9b11aaf1eb
4 changed files with 69 additions and 31 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue