diff --git a/pytest.ini b/pytest.ini index 611e2cb..741ee44 100644 --- a/pytest.ini +++ b/pytest.ini @@ -25,3 +25,4 @@ markers = # SKIP_DEEPFACE_IN_TESTS is set in conftest.py to prevent DeepFace/TensorFlow # from loading during tests (avoids illegal instruction errors on some CPUs) + diff --git a/tests/README.md b/tests/README.md index 3251408..f81e9f8 100644 --- a/tests/README.md +++ b/tests/README.md @@ -109,3 +109,4 @@ In CI (GitHub Actions/Gitea Actions), test results appear in: - Make sure virtual environment is activated or use `./venv/bin/python3` - Verify all dependencies are installed: `./venv/bin/pip install -r requirements.txt` + diff --git a/tests/test_api_people.py b/tests/test_api_people.py index 2c34c90..aafb0e9 100644 --- a/tests/test_api_people.py +++ b/tests/test_api_people.py @@ -207,8 +207,8 @@ class TestPeopleCRUD: response = test_client.delete(f"/api/v1/people/{person.id}") - # DELETE operations typically return 204 No Content - assert response.status_code in [200, 204] + # DELETE operations return 204 No Content (standard REST convention) + assert response.status_code == 204 def test_delete_person_not_found( self, diff --git a/viewer-frontend/scripts/install-dependencies.sh b/viewer-frontend/scripts/install-dependencies.sh index f79bf82..f744ffd 100755 --- a/viewer-frontend/scripts/install-dependencies.sh +++ b/viewer-frontend/scripts/install-dependencies.sh @@ -205,3 +205,4 @@ echo "3. Run 'npm run check:permissions' to verify database access" echo "" + diff --git a/viewer-frontend/scripts/test-prisma-query.ts b/viewer-frontend/scripts/test-prisma-query.ts index 3015d5b..ade00eb 100644 --- a/viewer-frontend/scripts/test-prisma-query.ts +++ b/viewer-frontend/scripts/test-prisma-query.ts @@ -146,3 +146,4 @@ testQueries() }); + diff --git a/viewer-frontend/scripts/with-sharp-libpath.sh b/viewer-frontend/scripts/with-sharp-libpath.sh index 1e8823a..e7a7cd0 100755 --- a/viewer-frontend/scripts/with-sharp-libpath.sh +++ b/viewer-frontend/scripts/with-sharp-libpath.sh @@ -16,3 +16,4 @@ else fi +