Make sure we check access token expiration (#15207)
* Make sure we check access token expiration * Use correct access token websocket
This commit is contained in:
parent
2205090795
commit
39971ee919
5 changed files with 74 additions and 11 deletions
|
@ -320,6 +320,7 @@ class MockUser(auth.User):
|
|||
|
||||
def add_to_auth_manager(self, auth_mgr):
|
||||
"""Test helper to add entry to hass."""
|
||||
ensure_auth_manager_loaded(auth_mgr)
|
||||
auth_mgr._store.users[self.id] = self
|
||||
return self
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue