Limit OAuth scopes for Netatmo and Home Assistant Cloud (#31538)
* Limit OAuth scopes for Netatmo and Home Assistant Cloud * Fix tests by making order of scopes predictable
This commit is contained in:
1 parent
bf1b78f621
commit
080f9725dc
2 files changed
+20
-22
No files matched your search
@@ -54,15 +54,15 @@ async def test_full_flow(hass, aiohttp_client, aioclient_mock):
|
||||
|
||||
scope = "+".join(
|
||||
[
|
||||
"read_station",
|
||||
"read_camera",
|
||||
"access_camera",
|
||||
"write_camera",
|
||||
"read_presence",
|
||||
"access_presence",
|
||||
"read_camera",
|
||||
"read_homecoach",
|
||||
"read_presence",
|
||||
"read_smokedetector",
|
||||
"read_station",
|
||||
"read_thermostat",
|
||||
"write_camera",
|
||||
"write_thermostat",
|
||||
]
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user