mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-11-14 21:40:20 +00:00
Add an admin only device wipe API (#4934)
* Add an admin only device wipe API * Fix pylint issue
This commit is contained in:
@@ -179,6 +179,7 @@ async def test_bad_requests(
|
||||
("post", "/addons/abc123/options", {"admin", "manager"}),
|
||||
("post", "/addons/abc123/restart", {"admin", "manager"}),
|
||||
("post", "/addons/abc123/security", {"admin"}),
|
||||
("post", "/os/datadisk/wipe", {"admin"}),
|
||||
],
|
||||
)
|
||||
async def test_token_validation(
|
||||
|
||||
Reference in New Issue
Block a user