Convert getting and removing access tokens to normal functions (#108670)
This commit is contained in:
parent
904032e944
commit
2eea658fd8
14 changed files with 98 additions and 124 deletions
|
@ -775,7 +775,7 @@ async def test_call_service_context_with_user(
|
|||
msg = await ws.receive_json()
|
||||
assert msg["success"]
|
||||
|
||||
refresh_token = await hass.auth.async_validate_access_token(hass_access_token)
|
||||
refresh_token = hass.auth.async_validate_access_token(hass_access_token)
|
||||
|
||||
assert len(calls) == 1
|
||||
call = calls[0]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue