ComfyUI/tests-unit/assets_test
Luke Mino-Altherr 500c458105 refactor(assets): API routes call services directly, extract upload handling
- Refactor routes.py to call service functions directly (no manager layer)
- Extract multipart upload parsing into upload.py
- Update API schemas
- Fix path traversal validation to return 400 instead of 500
- Rename test_tags.py to test_tags_api.py
- Update existing API-level tests

Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019c9209-37af-757a-b6e4-af59b4267362
2026-03-06 18:56:49 -08:00
..
queries refactor(assets): database layer — split queries into modules and merge migrations 2026-03-06 18:56:18 -08:00
services refactor(assets): extract services layer from manager and helpers 2026-03-06 18:56:49 -08:00
conftest.py refactor(assets): API routes call services directly, extract upload handling 2026-03-06 18:56:49 -08:00
helpers.py refactor(assets): database layer — split queries into modules and merge migrations 2026-03-06 18:56:18 -08:00
test_assets_missing_sync.py refactor(assets): API routes call services directly, extract upload handling 2026-03-06 18:56:49 -08:00
test_crud.py refactor(assets): API routes call services directly, extract upload handling 2026-03-06 18:56:49 -08:00
test_downloads.py refactor(assets): API routes call services directly, extract upload handling 2026-03-06 18:56:49 -08:00
test_file_utils.py refactor(assets): extract services layer from manager and helpers 2026-03-06 18:56:49 -08:00
test_list_filter.py refactor(assets): API routes call services directly, extract upload handling 2026-03-06 18:56:49 -08:00
test_metadata_filters.py
test_prune_orphaned_assets.py refactor(assets): API routes call services directly, extract upload handling 2026-03-06 18:56:49 -08:00
test_tags_api.py refactor(assets): API routes call services directly, extract upload handling 2026-03-06 18:56:49 -08:00
test_uploads.py refactor(assets): API routes call services directly, extract upload handling 2026-03-06 18:56:49 -08:00