AOSSIE-Org / AOSSIE-Org/PictoPy

Add tests for the images API

Open
#1,083 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
283
Forks
679
Avg merge
7d 2h
Merged PRs (30d)
3

Description

There are backend tests for albums, face clusters, folders, and user preferences, but none for the images routes in backend/app/routes/images.py.
work: Add backend/tests/test_images.py that:
Uses the same style as test_albums.py.
Covers at least:
GET / (and optionally the tagged query).
POST /toggle-favourite (success and “image not found” or error path).
This improves coverage and protects the images API from regressions.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.