Add an admin only device wipe API (#4934)

* Add an admin only device wipe API

* Fix pylint issue
This commit is contained in:
Mike Degatano
2024-02-29 10:29:52 -05:00
committed by GitHub
parent 5126820619
commit 9d4848ee77
11 changed files with 114 additions and 7 deletions

View File

@@ -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(