From 743fef2782f46c0ca44128317684e3b0ac85cceb Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Wed, 30 Sep 2026 09:33:37 -0500 Subject: [PATCH] add test --- frigate/test/http_api/test_http_app.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frigate/test/http_api/test_http_app.py b/frigate/test/http_api/test_http_app.py index 3eca11817c..66618b26ac 100644 --- a/frigate/test/http_api/test_http_app.py +++ b/frigate/test/http_api/test_http_app.py @@ -57,6 +57,10 @@ class TestHttpApp(BaseTestHttp): with AuthTestClient(app) as client: assert client.get("/faces", headers=viewer).status_code == 403 assert client.get("/faces").status_code == 200 + assert ( + client.post("/faces/train/person/classify", headers=viewer).status_code + == 403 + ) # Camera routes for the same name stay reachable by viewers response = client.get("/faces/recordings/summary", headers=viewer)