Return if refresh token is current used one in WS API (#16575)

This commit is contained in:
Jason Hu 2018-09-12 00:49:44 -07:00 committed by Paulus Schoutsen
parent e2465da7c2
commit 34d369ba26
3 changed files with 4 additions and 0 deletions

View file

@ -320,6 +320,7 @@ async def test_ws_refresh_tokens(hass, hass_ws_client, hass_access_token):
assert token['client_name'] == refresh_token.client_name
assert token['client_icon'] == refresh_token.client_icon
assert token['created_at'] == refresh_token.created_at.isoformat()
assert token['is_current'] is True
async def test_ws_delete_refresh_token(hass, hass_ws_client,